From 93f67eceb286067a6ec5bbd747147f4824c1c6d2 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 13 五月 2023 22:50:54 +0800 Subject: [PATCH] 2023-05-13 --- src/menu/components/card/cardcomponent/index.jsx | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/menu/components/card/cardcomponent/index.jsx b/src/menu/components/card/cardcomponent/index.jsx index db2c7f5..fe9bfc9 100644 --- a/src/menu/components/card/cardcomponent/index.jsx +++ b/src/menu/components/card/cardcomponent/index.jsx @@ -121,6 +121,7 @@ } addElement = () => { + const { cards } = this.props const { card } = this.state let newcard = {} @@ -133,6 +134,8 @@ if (card.$cardType === 'extendCard' && card.setting.cardRole === 'header') { newcard.datatype = 'static' + } else if (cards.subtype === 'propcard' && cards.wrap.datatype === 'static') { + newcard.datatype = 'static' } // 娉ㄥ唽浜嬩欢-娣诲姞鍏冪礌 -- Gitblit v1.8.0