代码调整

This commit is contained in:
dong 2022-12-26 16:02:08 +08:00
parent 707393bcc2
commit ef534aff5b

View File

@ -212,15 +212,15 @@ export default {
this.menu = this.menuForce; this.menu = this.menuForce;
} }
// PSL // PSL
if (this.operatemode !== OperateMode.FAULT && this.work === 'localWork') { // if (this.operatemode !== OperateMode.FAULT && this.work === 'localWork') {
this.menu = [ // this.menu = [
...this.menu, // ...this.menu,
{ // {
label: 'PSL', // label: 'PSL',
handler: this.openPsl // handler: this.openPsl
} // }
]; // ];
} // }
}, },
doShow(point) { doShow(point) {
this.initMenu(); this.initMenu();