From 729fb5e7f41f45c6962993d86c3a4eb81c2c784b Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 10 六月 2025 23:06:06 +0800
Subject: [PATCH] Merge branch 'develop'

---
 src/tabviews/zshare/actionList/normalbutton/index.jsx |   22 ++++++++++++++++------
 1 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/src/tabviews/zshare/actionList/normalbutton/index.jsx b/src/tabviews/zshare/actionList/normalbutton/index.jsx
index b415701..6a1abc0 100644
--- a/src/tabviews/zshare/actionList/normalbutton/index.jsx
+++ b/src/tabviews/zshare/actionList/normalbutton/index.jsx
@@ -2682,11 +2682,16 @@
       delete result.message
       delete result.status
 
-      param = {
-        ...outParam,
-        ...result,
-        func: btn.callbackFunc
-      }
+      param = {}
+
+      Object.keys(outParam).forEach(key => {
+        param[key.toLowerCase()] = outParam[key]
+      })
+      Object.keys(result).forEach(key => {
+        param[key.toLowerCase()] = result[key]
+      })
+
+      param.func = btn.callbackFunc
 
       if (window.GLOB.mkHS) {
         if (btn.callbackFunc === 's_sVersion_Local_add' && window.GLOB.forcedUpdate) { // special 浼犺緭鍙锋坊鍔犲洖璋冨鐞�
@@ -3011,6 +3016,7 @@
     if (focusField) {
       MKEmitter.emit('resetFocus', btn.uuid, focusField)
     }
+    window.GLOB.errFocusId = ''
 
     this.setState({
       loadingNumber: '',
@@ -3837,7 +3843,11 @@
       loadingTotal: '',
     })
 
-    if (btnconfig && btnconfig.setting && btnconfig.setting.errFocus) {
+    if (window.GLOB.errFocusId && (btnconfig || btn.OpenType === 'formSubmit')) {
+      MKEmitter.emit('mkFC', 'focus', window.GLOB.errFocusId)
+
+      window.GLOB.errFocusId = ''
+    } else if (btnconfig && btnconfig.setting && btnconfig.setting.errFocus) {
       MKEmitter.emit('mkFC', 'focus', btnconfig.setting.errFocus)
     }
 

--
Gitblit v1.8.0