From a837624af068cb3a3455f66d9932fc1509e37b25 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 10 六月 2025 23:37:34 +0800 Subject: [PATCH] 2025-06-10 --- src/tabviews/zshare/actionList/normalbutton/index.jsx | 26 ++++++++++++++++++-------- 1 files changed, 18 insertions(+), 8 deletions(-) diff --git a/src/tabviews/zshare/actionList/normalbutton/index.jsx b/src/tabviews/zshare/actionList/normalbutton/index.jsx index 495d224..6a1abc0 100644 --- a/src/tabviews/zshare/actionList/normalbutton/index.jsx +++ b/src/tabviews/zshare/actionList/normalbutton/index.jsx @@ -413,7 +413,7 @@ if (setting.supModule && !BID) { notification.warning({ top: 92, - message: dict['sup_key_req'] || '闇�瑕佷笂绾т富閿�硷紒', + message: setting.supModTip || dict['sup_key_req'] || '闇�瑕佷笂绾т富閿�硷紒', duration: 5 }) return false @@ -1533,7 +1533,7 @@ if (setting.supModule && !BID) { notification.warning({ top: 92, - message: window.GLOB.dict['sup_key_req'] || '闇�瑕佷笂绾т富閿�硷紒', + message: setting.supModTip || window.GLOB.dict['sup_key_req'] || '闇�瑕佷笂绾т富閿�硷紒', duration: 5 }) _resolve() @@ -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