From e44c622efee02beafab30da2a91561e8892e26ef Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 14 五月 2022 14:11:39 +0800 Subject: [PATCH] 2022-05-14 --- src/tabviews/custom/components/form/normal-form/index.jsx | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/tabviews/custom/components/form/normal-form/index.jsx b/src/tabviews/custom/components/form/normal-form/index.jsx index 84e9b94..a8ad272 100644 --- a/src/tabviews/custom/components/form/normal-form/index.jsx +++ b/src/tabviews/custom/components/form/normal-form/index.jsx @@ -76,6 +76,12 @@ group.subButton.OpenType = 'formSubmit' group.subButton.execError = 'never' + group.subButton.syncComponentId = group.subButton.syncComponent ? group.subButton.syncComponent.pop() : '' + + if (group.subButton.syncComponentId === config.uuid) { + group.subButton.syncComponentId = '' + } + if (group.subButton.enable === 'false') { group.subButton.style.display = 'none' } @@ -353,7 +359,7 @@ const { config, loading, BID, data, group, dict, step } = this.state return ( - <div className="custom-normal-form-box" style={{...config.style}}> + <div className="custom-normal-form-box" id={'anchor' + config.uuid} style={{...config.style}}> {loading ? <div className="loading-mask"> <div className="ant-spin-blur"></div> -- Gitblit v1.8.0