From 7b9fe40dbdd3a3c016069e70197f9178d359051b Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Thu, 18 Jun 2020 14:36:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=A7=E6=9C=AC=E4=BB=A3=E7=A0=81=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/scriptManage/display/tipScriptRecordNew.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/scriptManage/display/tipScriptRecordNew.vue b/src/views/scriptManage/display/tipScriptRecordNew.vue index 14afc5c83..4f07fbe55 100644 --- a/src/views/scriptManage/display/tipScriptRecordNew.vue +++ b/src/views/scriptManage/display/tipScriptRecordNew.vue @@ -91,6 +91,7 @@ export default { this.isPause = !(this.$store.state.scriptRecord.simulationPause); }, '$store.state.map.runPlanStatus':function (val) { + debugger; this.initData(); } }, @@ -105,6 +106,7 @@ export default { this.backDisabled = response.data.bgSet; this.mapLocation = response.data.mapLocation; this.$store.dispatch('scriptRecord/updateBgSet', response.data.bgSet); + if (response.data.bgSet) { this.$store.dispatch('map/setRunPlanStatus', true); } }); }, methods:{ @@ -242,6 +244,7 @@ export default { this.$refs['getAction'].loadInitData(); this.initData(); this.memberId = ''; + this.$store.dispatch('map/setRunPlanStatus', false); this.$store.dispatch('training/setPrdType', '01'); // this.initAutoSaveScript(); this.$store.dispatch('scriptRecord/updateBgSet', false);