From 71d4765ba3cdc4a004687cd37a529b565e9ea9fd Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 06 七月 2021 16:26:29 +0800
Subject: [PATCH] 2021-07-06

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

diff --git a/src/mob/modalconfig/pastecomponent/index.jsx b/src/mob/modalconfig/pastecomponent/index.jsx
index 71df022..03b2200 100644
--- a/src/mob/modalconfig/pastecomponent/index.jsx
+++ b/src/mob/modalconfig/pastecomponent/index.jsx
@@ -34,13 +34,13 @@
       if (res.field && keys.includes(res.field.toLowerCase())) {
         notification.warning({
           top: 92,
-          message: '鎼滅储瀛楁宸插瓨鍦紒',
+          message: '瀛楁宸插瓨鍦紒',
           duration: 5
         })
         return
       }
 
-      this.props.updateConfig(config)
+      this.props.updateConfig({...config, fields: [...config.fields, res]})
       this.setState({visible: false})
 
       notification.success({

--
Gitblit v1.8.0