From 79006d19801eb10e7532eaf8478d1dd2c239954b Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 07 三月 2023 01:41:28 +0800
Subject: [PATCH] 2023-03-07

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