绘图高亮显影调整

This commit is contained in:
fan 2020-04-30 17:52:37 +08:00
parent 4b50306981
commit b6105f015d
2 changed files with 5 additions and 1 deletions

View File

@ -144,9 +144,10 @@ export default {
this.$emit('showMap');
},
initLoad() {
if (this.enabledTab === 'route' || this.enabledTab == 'runLevel') {
if (this.enabledTab === 'route') {
this.$refs[this.enabledTabMenu[this.enabledTab]].initLoad();
}
this.tabBeforeLeave(this.enabledTab);
},
createRouteEvent() { //
this.$refs[this.enabledTabMenu[this.enabledTab]].createRouteEvent();

View File

@ -197,6 +197,9 @@ export default {
},
selectViewDraft(data) {
this.viewDraft = data;
if (data != 'draft') {
this.$refs.dataRelation.initLoad();
}
},
loadInitPage() {
this.$store.dispatch('training/changeMode', { mode: TrainingMode.MAP_EDIT });