From 1b2642c615001b3435a9e99e478517a917f656af Mon Sep 17 00:00:00 2001
From: yuxc <yuxc@vci-tech.com>
Date: 星期五, 26 四月 2024 17:27:11 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
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