Commit b922ee94 authored by tianhongyang's avatar tianhongyang

甲方详情 参数添加深度监听,更正偶尔出现显示错误问题

parent b9c79b9c
...@@ -12,5 +12,5 @@ VUE_CLI_BABEL_TRANSPILE_MODULES = true ...@@ -12,5 +12,5 @@ VUE_CLI_BABEL_TRANSPILE_MODULES = true
# 子系统地址 # 子系统地址
VUE_APP_SUB_SYSTEM_ADDRESS = "https://pre-plug.jiansheku.com" # VUE_APP_SUB_SYSTEM_ADDRESS = "https://pre-plug.jiansheku.com"
# VUE_APP_SUB_SYSTEM_ADDRESS = "http://192.168.60.104:3400" VUE_APP_SUB_SYSTEM_ADDRESS = "http://192.168.60.104:3400"
\ No newline at end of file \ No newline at end of file
...@@ -156,11 +156,14 @@ export default { ...@@ -156,11 +156,14 @@ export default {
} }
}, },
watch: { watch: {
statistic(newVal, oldVal) { statistic: {
this.childStatistic = newVal; handler(newVal, oldVal) {
if (newVal) { this.childStatistic = newVal;
this.handleStatistic(); if (newVal) {
} this.handleStatistic();
}
},
deep: true
} }
} }
} }
......
...@@ -403,11 +403,13 @@ export default { ...@@ -403,11 +403,13 @@ export default {
this.handleWidth(); this.handleWidth();
this.getClaimStatus(); //获取企业认领状态 this.getClaimStatus(); //获取企业认领状态
}, },
statistic(newVal, oldVal) { statistic: {
if (newVal) { handler(newVal, oldVal) {
this.childStatistic = newVal; this.childStatistic = newVal;
this.handleStatistic(); this.handleStatistic();
} },
deep: true,
immediate: true
} }
} }
} }
......
...@@ -97,9 +97,12 @@ export default { ...@@ -97,9 +97,12 @@ export default {
} }
}, },
watch: { watch: {
financial(newVal, oldVal) { financial: {
this.childFinancial = newVal; handler(newVal, oldVal) {
this.handleFinancial(); this.childFinancial = newVal;
this.handleFinancial();
},
deep: true
} }
} }
} }
......
...@@ -154,8 +154,11 @@ export default { ...@@ -154,8 +154,11 @@ export default {
}; };
}, },
watch: { watch: {
financial(newValue) { financial: {
this.childFinancial = newValue; handler(newValue) {
this.childFinancial = newValue;
},
deep: true
} }
}, },
created() { created() {
......
...@@ -187,11 +187,14 @@ export default { ...@@ -187,11 +187,14 @@ export default {
} }
}, },
watch: { watch: {
statistic(newVal, oldVal) { statistic: {
this.childStatistic = newVal; handler(newVal, oldVal) {
if (newVal) { this.childStatistic = newVal;
this.handView(); if (newVal) {
} this.handView();
}
},
deep: true
} }
} }
} }
......
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