From bb862ea00d32e48bf92b9deff69572853ac8e694 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 05 一月 2023 14:57:35 +0800
Subject: [PATCH] 2023-01-05

---
 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