From a1e9b18a4dbfd21e1bf4d5cb60974ac2f0115efd Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 30 五月 2025 15:18:44 +0800 Subject: [PATCH] 2025-05-30 --- src/tabviews/zshare/mutilform/index.jsx | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/src/tabviews/zshare/mutilform/index.jsx b/src/tabviews/zshare/mutilform/index.jsx index 37fb86b..b681516 100644 --- a/src/tabviews/zshare/mutilform/index.jsx +++ b/src/tabviews/zshare/mutilform/index.jsx @@ -696,6 +696,13 @@ if (item.enter === 'tab' || item.enter === 'sub') { item.tabUuid = '' + if (item.enter === 'sub' && item.errTabField) { + if (item.errTabField === 'origin') { + item.errTabUuid = item.uuid + } else if (fieldMap.has(item.errTabField)) { + item.errTabUuid = fieldMap.get(item.errTabField).uuid + } + } if (item.tabField && fieldMap.has(item.tabField)) { item.tabUuid = fieldMap.get(item.tabField).uuid } else if (item.enter === 'tab') { @@ -1550,10 +1557,11 @@ return fields } - handleConfirm = (formId) => { + handleConfirm = (formId, errId) => { const { action } = this.props const { formlist, send_type, timestamp, n_id } = this.state + window.CACHE.errFocusId = '' // 琛ㄥ崟鎻愪氦鏃舵鏌ヨ緭鍏ュ�兼槸鍚︽纭� return new Promise((resolve, reject) => { this.props.form.validateFieldsAndScroll((err, values) => { @@ -1680,6 +1688,7 @@ }) this.submitId = formId || '' + window.CACHE.errFocusId = errId || '' if (locals) { sessionStorage.setItem('local_' + action.uuid, JSON.stringify(locals)) -- Gitblit v1.8.0