Commit a57bce8d authored by xinzhedeai's avatar xinzhedeai

fix:检查记录 checkData数据watch处理

parent e90e86fc
...@@ -102,6 +102,9 @@ window.onload = function() { ...@@ -102,6 +102,9 @@ window.onload = function() {
watch: { watch: {
checkData: { checkData: {
handler(newVal) { handler(newVal) {
if(this.flag != 'ADD' && this.flag != 'JC_XQ'){
return
}
const snapshot = JSON.parse(JSON.stringify(newVal)); const snapshot = JSON.parse(JSON.stringify(newVal));
console.log('全量变化:', snapshot); console.log('全量变化:', snapshot);
this.noCount = countSelectedNo(snapshot); // selected=no 的个数 this.noCount = countSelectedNo(snapshot); // selected=no 的个数
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment