bugfix - 站控信号机操作
This commit is contained in:
parent
c513a3e80b
commit
e29028ec0e
@ -210,7 +210,7 @@ export default {
|
|||||||
initMenu() {
|
initMenu() {
|
||||||
this.menu = [];
|
this.menu = [];
|
||||||
this.menuNormal.forEach(menuItem => {
|
this.menuNormal.forEach(menuItem => {
|
||||||
menuItem.disabled = !judgeStationControl(this.selected.belongStationCode, this.selected.stationCode, this.work, menuItem.isAvailableInLocalMode) || menuItem.isDisabled(this.selected, this.work);
|
menuItem.disabled = !judgeStationControl(this.selected.belongStationCode, this.selected.stationCode, this.work, menuItem.isAvailableInOtherControlMode) || menuItem.isDisabled(this.selected, this.work);
|
||||||
menuItem.show = menuItem.isShow(this.selected, this.work);
|
menuItem.show = menuItem.isShow(this.selected, this.work);
|
||||||
this.menu.push(menuItem);
|
this.menu.push(menuItem);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user