From bd06958321afa706f32287c71bd219eb0622c86c Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 10 十二月 2019 16:31:45 +0800
Subject: [PATCH] 2019-12-10

---
 src/templates/modalconfig/dragelement/index.jsx |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/templates/modalconfig/dragelement/index.jsx b/src/templates/modalconfig/dragelement/index.jsx
index 28cd6e9..5b7cd29 100644
--- a/src/templates/modalconfig/dragelement/index.jsx
+++ b/src/templates/modalconfig/dragelement/index.jsx
@@ -77,12 +77,8 @@
       newcard.orderBy = ''
       newcard.orderType = 'asc'
       newcard.readonly = 'false'
-      
-      // let indexes = cards.map(car => {return car.id})
-      // let newid = 0
-      // while (indexes.includes(newid)) {
-      //   newid++
-      // }
+      newcard.required = 'false'
+
       newcard.id = Utils.getuuid()
 
       let targetId = cards.length > 0 ? cards[cards.length - 1].id : 0

--
Gitblit v1.8.0