From ad756eee10e2d06d4f86976782ba523e4c1b0681 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Fri, 19 Jun 2020 10:06:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=A7=E6=9C=AC=E7=BC=96=E5=88=B6=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/scriptManage/scriptRecord/getActionNew.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/scriptManage/scriptRecord/getActionNew.vue b/src/views/scriptManage/scriptRecord/getActionNew.vue index 3417f70ab..a01eac958 100644 --- a/src/views/scriptManage/scriptRecord/getActionNew.vue +++ b/src/views/scriptManage/scriptRecord/getActionNew.vue @@ -105,6 +105,7 @@ export default { return lastData; }, covertData(memberVOList, element) { + debugger; const member = memberVOList.find(elem=>{ return elem.id == element.memberId; }); const memberName = member.name; switch (element.type) { @@ -127,9 +128,10 @@ export default { } case 'Command': { - const command = CommandHandler.getScriptDefinition(element.operationType); - let operateType = command.operate.split('_')[0]; - const data = command.operate.toUpperCase(); + // const command = CommandHandler.getScriptDefinition(element.operationType); + const commandName = element.operationType; + let operateType = commandName.split('_')[0]; + const data = commandName.toUpperCase(); if (operateType == 'CM') { operateType = 'ControlConvertMenu'; }