代码调整
This commit is contained in:
parent
45190c3b6f
commit
b1c2d74d29
@ -199,15 +199,15 @@ export default {
|
||||
this.menu = MenuContextHandler.covert(this.menuNormal);
|
||||
// 故障模式菜单列表
|
||||
if (this.operatemode === OperateMode.FAULT) {
|
||||
if (!this.$store.state.scriptRecord.bgSet) {
|
||||
// if (!this.$store.state.scriptRecord.bgSet) {
|
||||
const menuHook = [{
|
||||
label: '道岔钩锁',
|
||||
handler: this.hookLock
|
||||
}];
|
||||
this.menu = [...this.menuForce, ...menuHook];
|
||||
} else {
|
||||
this.menu = this.menuForce;
|
||||
}
|
||||
// } else {
|
||||
// this.menu = this.menuForce;
|
||||
// }
|
||||
}
|
||||
},
|
||||
doShow(point) {
|
||||
|
Loading…
Reference in New Issue
Block a user