fix: mlogb计算导致的count_ok错误
This commit is contained in:
parent
5d5ebf7ae1
commit
0f298ce1da
|
|
@ -853,11 +853,14 @@ export default {
|
|||
}
|
||||
},
|
||||
countOkSun() {
|
||||
let ok_number = 0;
|
||||
this.mlogb.forEach((item) => {
|
||||
ok_number += item.count_ok;
|
||||
});
|
||||
this.form.count_ok = ok_number;
|
||||
if (this.mlogb.length > 0) {
|
||||
let ok_number = 0;
|
||||
this.mlogb.forEach((item) => {
|
||||
ok_number += item.count_ok;
|
||||
});
|
||||
this.form.count_ok = ok_number;
|
||||
}
|
||||
|
||||
this.countChange();
|
||||
},
|
||||
//提交
|
||||
|
|
|
|||
Loading…
Reference in New Issue