fix: mlogb计算导致的count_ok错误

This commit is contained in:
caoqianming 2024-03-04 15:46:40 +08:00
parent 5d5ebf7ae1
commit 0f298ce1da
1 changed files with 8 additions and 5 deletions

View File

@ -853,11 +853,14 @@ export default {
} }
}, },
countOkSun() { countOkSun() {
let ok_number = 0; if (this.mlogb.length > 0) {
this.mlogb.forEach((item) => { let ok_number = 0;
ok_number += item.count_ok; this.mlogb.forEach((item) => {
}); ok_number += item.count_ok;
this.form.count_ok = ok_number; });
this.form.count_ok = ok_number;
}
this.countChange(); this.countChange();
}, },
// //