剧本代码调整

This commit is contained in:
joylink_cuiweidong 2020-06-18 14:36:23 +08:00
parent 4c99069752
commit 7b9fe40dbd

View File

@ -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);