From 98c31d9998342f50a6e108a033cf6f423c44e83e Mon Sep 17 00:00:00 2001
From: wangting <675591594@qq.com>
Date: 星期五, 12 四月 2024 17:24:06 +0800
Subject: [PATCH] 处理action

---
 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