From 54d01e6ef9ac31f10de4a0e92824eba50b77eda6 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 27 九月 2021 18:40:51 +0800
Subject: [PATCH] 2021-09-27

---
 src/templates/formtabconfig/index.jsx |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/src/templates/formtabconfig/index.jsx b/src/templates/formtabconfig/index.jsx
index 8b38bc5..ae594a5 100644
--- a/src/templates/formtabconfig/index.jsx
+++ b/src/templates/formtabconfig/index.jsx
@@ -537,7 +537,6 @@
 
         let _groups = null
         let fieldrepet = false  // 瀛楁閲嶅
-        let labelrepeat = false // 鎻愮ず鏂囧瓧閲嶅
 
         if (card.iscopy) {
           _groups = _config.groups.map(group => {
@@ -549,8 +548,6 @@
 
               if (item.uuid !== res.uuid && item.field === res.field) {
                 fieldrepet = true
-              } else if (item.uuid !== res.uuid && item.label === res.label) {
-                labelrepeat = true
               }
             })
 
@@ -568,8 +565,6 @@
             group.sublist = group.sublist.map(item => {
               if (item.uuid !== res.uuid && item.field === res.field) {
                 fieldrepet = true
-              } else if (item.uuid !== res.uuid && item.label === res.label) {
-                labelrepeat = true
               }
 
               if (item.uuid === res.uuid) {
@@ -589,13 +584,6 @@
           notification.warning({
             top: 92,
             message: '瀛楁宸插瓨鍦紒',
-            duration: 5
-          })
-          return
-        } else if (labelrepeat) {
-          notification.warning({
-            top: 92,
-            message: '鍚嶇О宸插瓨鍦紒',
             duration: 5
           })
           return

--
Gitblit v1.8.0