增加绘图的默认状态设置
This commit is contained in:
parent
554db95dd6
commit
0255a3250e
@ -130,7 +130,9 @@ export default {
|
||||
if (parseInt(this.mapInfo.id)) {
|
||||
this.mapInfo.name = this.$route.query.name;
|
||||
getMapDetail(this.$route.params.mapId).then(response => {
|
||||
this.$store.dispatch('map/setMapData', response.data);
|
||||
this.$store.dispatch('map/setMapData', response.data).then(resp => {
|
||||
this.$store.dispatch('training/setMapDefaultState');
|
||||
});
|
||||
this.setDelayUnlockStatus(response.data, '00');
|
||||
this.initAutoSaveTask();
|
||||
}).catch(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user