From 6cbf81bf91ddb09b87c1756c4c7d4aa42bb22f4b Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期一, 15 四月 2024 10:33:46 +0800 Subject: [PATCH] 调整接口 --- Source/ProjectWeb/src/actions/base/BaseAction.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/ProjectWeb/src/actions/base/BaseAction.js b/Source/ProjectWeb/src/actions/base/BaseAction.js index 0a9fda7..0e9b377 100644 --- a/Source/ProjectWeb/src/actions/base/BaseAction.js +++ b/Source/ProjectWeb/src/actions/base/BaseAction.js @@ -38,8 +38,8 @@ if(validatenull(options.paramVOS.context)) { options.paramVOS.context = options.paramVOS.content; } - if(handlers[button.actionVO.id]){ - handlers[button.actionVO.id]() + if(handlers[button.actionVO.id.toLowerCase()]){ + handlers[button.actionVO.id.toLowerCase()]() }else{ Vue.prototype.$message.error('鏈壘鍒板搴攁ction锛岃閲嶆柊閰嶇疆鎸夐挳锛�'); } -- Gitblit v1.9.3