From 6a0110feb3eb6515447c5a477f20eeaaaabb328b Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期日, 26 九月 2021 15:10:07 +0800
Subject: [PATCH] 2021-09-26

---
 src/menu/components/card/prop-card/index.jsx |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/menu/components/card/prop-card/index.jsx b/src/menu/components/card/prop-card/index.jsx
index fb98343..40cbe8a 100644
--- a/src/menu/components/card/prop-card/index.jsx
+++ b/src/menu/components/card/prop-card/index.jsx
@@ -440,11 +440,16 @@
 
   getWrapForms = () => {
     const { card } = this.state
-    return getWrapForm(card.wrap, card.subtype, card.columns)
+    return getWrapForm(card.wrap, card.subtype, card.columns, card.uuid)
   }
 
   updateWrap = (res) => {
-    this.updateComponent({...this.state.card, wrap: res})
+    let _card = {...this.state.card, wrap: res}
+
+    if (res.supModule && res.supModule.length > 0) {
+      _card.setting.supModule = res.supModule
+    }
+    this.updateComponent(_card)
   }
 
   clickComponent = (e) => {

--
Gitblit v1.8.0