Commit b922ee94 authored by tianhongyang's avatar tianhongyang

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

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