diff --git a/src/jmapNew/theme/haerbin_01/menus/menuButton.vue b/src/jmapNew/theme/haerbin_01/menus/menuButton.vue index 14df4b555..be488be9a 100644 --- a/src/jmapNew/theme/haerbin_01/menus/menuButton.vue +++ b/src/jmapNew/theme/haerbin_01/menus/menuButton.vue @@ -250,7 +250,7 @@ export default { this.param = { switchCode: this.selected.code, sectionCode: section.code, - speedLimitValue: 5 + speedLimitValue: '5' }; }, handleSingalMenu() { diff --git a/src/scripts/cmdPlugin/CommandEnum.js b/src/scripts/cmdPlugin/CommandEnum.js index 3c51a0a10..05f0a4760 100644 --- a/src/scripts/cmdPlugin/CommandEnum.js +++ b/src/scripts/cmdPlugin/CommandEnum.js @@ -40,8 +40,8 @@ export default { CMD_SWITCH_TURN_RP_CHAIN: {value: 'Switch_Turn_RP_Chain', label: '道岔反操(联动)'}, /** 道岔区段封锁 */ CMD_SWITCH_SECTION_BLOCK: {value: 'Switch_Section_Block', label: '道岔区段封锁'}, - /** 道岔区段封锁 */ - CMD_SWITCH_SECTION_UNBLOCK: {value: 'Switch_Section_Unblock', label: '道岔区段封锁'} + /** 道岔区段解封 */ + CMD_SWITCH_SECTION_UNBLOCK: {value: 'Switch_Section_Unblock', label: '道岔区段解封'} }, // 控制模式操作 diff --git a/src/scripts/cmdPlugin/Handler.js b/src/scripts/cmdPlugin/Handler.js index b8ce8ff28..ef0401301 100644 --- a/src/scripts/cmdPlugin/Handler.js +++ b/src/scripts/cmdPlugin/Handler.js @@ -98,7 +98,6 @@ class Handler { const valid = ValidateHandler.vaildate(this.getTrainingMode(), operation); this.afterValid(operation, valid); rtn.valid = valid; - if (operation.cmdType && valid) { const command = this.getCommand(operation); if (command) {