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/tabviews/custom/components/card/prop-card/index.jsx |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/tabviews/custom/components/card/prop-card/index.jsx b/src/tabviews/custom/components/card/prop-card/index.jsx
index 66bd1f7..bc19ece 100644
--- a/src/tabviews/custom/components/card/prop-card/index.jsx
+++ b/src/tabviews/custom/components/card/prop-card/index.jsx
@@ -261,7 +261,7 @@
   resetParentParam = (MenuID, id, data) => {
     const { config } = this.state
 
-    if (config.wrap.datatype === 'static' || !config.setting.supModule || config.setting.supModule !== MenuID) return
+    if (!config.setting || !config.setting.supModule || config.setting.supModule !== MenuID) return
     if (id !== this.state.BID) {
       this.setState({ BID: id, BData: data }, () => {
         this.loadData()

--
Gitblit v1.8.0