From 9318a4fed1b9f39fb4981fe1adbf26a8d86f4e6f Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 03 六月 2025 17:47:36 +0800
Subject: [PATCH] 2025-06-03

---
 src/tabviews/zshare/mutilform/index.jsx               |    4 ++--
 src/tabviews/zshare/actionList/normalbutton/index.jsx |    7 ++++---
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/tabviews/zshare/actionList/normalbutton/index.jsx b/src/tabviews/zshare/actionList/normalbutton/index.jsx
index 427f649..f0d8b87 100644
--- a/src/tabviews/zshare/actionList/normalbutton/index.jsx
+++ b/src/tabviews/zshare/actionList/normalbutton/index.jsx
@@ -3011,6 +3011,7 @@
     if (focusField) {
       MKEmitter.emit('resetFocus', btn.uuid, focusField)
     }
+    window.GLOB.errFocusId = ''
 
     this.setState({
       loadingNumber: '',
@@ -3837,10 +3838,10 @@
       loadingTotal: '',
     })
 
-    if (window.CACHE.errFocusId && (btnconfig || btn.OpenType === 'formSubmit')) {
-      MKEmitter.emit('mkFC', 'focus', window.CACHE.errFocusId)
+    if (window.GLOB.errFocusId && (btnconfig || btn.OpenType === 'formSubmit')) {
+      MKEmitter.emit('mkFC', 'focus', window.GLOB.errFocusId)
 
-      window.CACHE.errFocusId = ''
+      window.GLOB.errFocusId = ''
     } else if (btnconfig && btnconfig.setting && btnconfig.setting.errFocus) {
       MKEmitter.emit('mkFC', 'focus', btnconfig.setting.errFocus)
     }
diff --git a/src/tabviews/zshare/mutilform/index.jsx b/src/tabviews/zshare/mutilform/index.jsx
index b681516..f185b87 100644
--- a/src/tabviews/zshare/mutilform/index.jsx
+++ b/src/tabviews/zshare/mutilform/index.jsx
@@ -1561,7 +1561,7 @@
     const { action } = this.props
     const { formlist, send_type, timestamp, n_id } = this.state
 
-    window.CACHE.errFocusId = ''
+    window.GLOB.errFocusId = ''
     // 琛ㄥ崟鎻愪氦鏃舵鏌ヨ緭鍏ュ�兼槸鍚︽纭�
     return new Promise((resolve, reject) => {
       this.props.form.validateFieldsAndScroll((err, values) => {
@@ -1688,7 +1688,7 @@
         })
 
         this.submitId = formId || ''
-        window.CACHE.errFocusId = errId || ''
+        window.GLOB.errFocusId = errId || ''
 
         if (locals) {
           sessionStorage.setItem('local_' + action.uuid, JSON.stringify(locals))

--
Gitblit v1.8.0