南工院增加列车操作

This commit is contained in:
fan 2023-08-14 10:07:07 +08:00
parent aea0436cbc
commit ae8c202dbe

View File

@ -178,7 +178,7 @@ export default {
}
},
'$store.state.menuOperation.selected': function (val) {
if (val._type === 'Train' && val._event === MouseEvent.Left && this.project === 'srsandbox') {
if (val._type === 'Train' && val._event === MouseEvent.Left && (this.project === 'srsandbox' || this.project === 'ngysandtable')) {
this.$refs.trainOperation.doShow(val);
}
}