From a94b8b8d9022a7e279337aeb0961fbafb885128c Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期五, 26 四月 2024 15:47:04 +0800
Subject: [PATCH] 整合富文本和上传文件到表单组件

---
 Source/ProjectWeb/src/actions/base/BaseAction.js |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/Source/ProjectWeb/src/actions/base/BaseAction.js b/Source/ProjectWeb/src/actions/base/BaseAction.js
index 0a9fda7..93c5db0 100644
--- a/Source/ProjectWeb/src/actions/base/BaseAction.js
+++ b/Source/ProjectWeb/src/actions/base/BaseAction.js
@@ -13,8 +13,7 @@
 
   if(button.url && button.url!='null'){
     //鏈夐厤缃產ction璺緞锛屼娇鐢ㄨ矾寰勫搴旂殑js
-    let buttonParse = parseEventByUrl(button.url,options,false);
-    import("../"+buttonParse.jsPath+".js").then(module => {
+    import("../"+button.url+".js").then(module => {
       module.doAction(options);
     })
   }else {
@@ -38,8 +37,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