From d1d9dc29318cb2a9a466246adff7b78fe36cf623 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期六, 11 三月 2023 17:51:29 +0800
Subject: [PATCH] Merge branch 'master' into positec

---
 src/mob/modalconfig/pastecomponent/index.jsx |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/mob/modalconfig/pastecomponent/index.jsx b/src/mob/modalconfig/pastecomponent/index.jsx
index fea6610..26b033d 100644
--- a/src/mob/modalconfig/pastecomponent/index.jsx
+++ b/src/mob/modalconfig/pastecomponent/index.jsx
@@ -20,7 +20,11 @@
   pasteSubmit = () => {
     const { config } = this.props
     this.pasteFormRef.handleConfirm().then(res => {
-      if (res.copyType !== 'form') {
+      if (res.copyType === 'forms') {
+        this.props.updateConfig(res, 'forms')
+        this.setState({visible: false})
+        return
+      } else if (res.copyType !== 'form') {
         notification.warning({ top: 92, message: '閰嶇疆淇℃伅鏍煎紡閿欒锛�', duration: 5 })
         return
       }

--
Gitblit v1.8.0