From bc00d800cf4178e0c20e956b50944d177c6d50a6 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 05 一月 2023 14:58:57 +0800 Subject: [PATCH] Merge branch 'master' into positec --- src/templates/zshare/editcomponent/index.jsx | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/templates/zshare/editcomponent/index.jsx b/src/templates/zshare/editcomponent/index.jsx index 59ef92f..b5672d0 100644 --- a/src/templates/zshare/editcomponent/index.jsx +++ b/src/templates/zshare/editcomponent/index.jsx @@ -119,6 +119,9 @@ let _config = fromJS(this.props.config).toJS() this.pasteFormRef.handleConfirm().then(res => { + if (type === 'formboard' && res.copyType === 'search' && ['text', 'select', 'multiselect', 'link', 'checkcard', 'date', 'datemonth'].includes(res.type)) { + res.copyType = 'form' + } if (!options.includes(res.copyType)) { notification.warning({ top: 92, -- Gitblit v1.8.0