修复概率计算问题
This commit is contained in:
@@ -166,8 +166,8 @@ export default {
|
||||
created() {
|
||||
this.$nextTick(function () {
|
||||
this.initTable();
|
||||
this.showPoolItemCount();
|
||||
});
|
||||
this.showPoolItemCount();
|
||||
},
|
||||
mounted() {
|
||||
this.optEdit();
|
||||
@@ -249,7 +249,7 @@ export default {
|
||||
formatter: function (val, row, index) {
|
||||
let value = 0;
|
||||
if (val) {
|
||||
value = (val / 1000 * 100).toFixed(6);
|
||||
value = (val / 1000000 * 100).toFixed(4);
|
||||
}
|
||||
return value + '%';
|
||||
}
|
||||
@@ -262,7 +262,7 @@ export default {
|
||||
formatter: function (val, row, index) {
|
||||
let value = 0;
|
||||
if (val) {
|
||||
value = (val / 1000 * 100).toFixed(6);
|
||||
value = (val / 1000 * 100).toFixed(4);
|
||||
}
|
||||
return value + '%';
|
||||
}
|
||||
|
Reference in New Issue
Block a user