From bf292de8879e2ce71696cb3ddc4dc8fa88d91a20 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 10 六月 2022 16:51:22 +0800
Subject: [PATCH] 2022-06-10

---
 src/menu/components/card/data-card/index.jsx |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/menu/components/card/data-card/index.jsx b/src/menu/components/card/data-card/index.jsx
index a57d028..67eea0f 100644
--- a/src/menu/components/card/data-card/index.jsx
+++ b/src/menu/components/card/data-card/index.jsx
@@ -204,7 +204,7 @@
       card.errors.push({ level: 0, detail: '鏁版嵁婧愪腑鏃犲彲鐢ㄨ剼鏈紒'})
     } else if (!card.setting.primaryKey) {
       card.errors.push({ level: 0, detail: '鏈缃富閿紒'})
-    } else if (!card.setting.supModule) {
+    } else if (card.wrap.supType !== 'multi' && !card.setting.supModule) {
       card.errors.push({ level: 0, detail: '鏈缃笂绾х粍浠讹紒'})
     }
 
@@ -568,8 +568,8 @@
 
   getWrapForms = () => {
     const { card } = this.state
-
-    return getWrapForm(card.wrap, card.subtype, card.columns, card.uuid, card.supNodes)
+    
+    return getWrapForm(card.wrap, card.subtype, card.columns, card.uuid, card.supNodes, card.setting)
   }
 
   updateWrap = (res) => {

--
Gitblit v1.8.0