From 68d839ab51dab23bcb12cfe243b318203025451b Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 17 十二月 2020 18:39:54 +0800 Subject: [PATCH] 2020-12-17 --- 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 f072388..757af64 100644 --- a/src/tabviews/custom/components/card/prop-card/index.jsx +++ b/src/tabviews/custom/components/card/prop-card/index.jsx @@ -263,7 +263,7 @@ <Spin /> </div> : null } - <div className={`card-row-list ${config.wrap.cardType} ${config.wrap.scale}`}> + <div className={`card-row-list ${config.wrap.cardType || ''} ${config.wrap.scale || ''}`}> {config.subcards.map((item, index) => ( <Col className={activeKey === index ? 'active' : ''} key={index} span={item.setting.width || 6} offset={item.offset || 0} onClick={() => {this.changeCard(index, item)}}> <CardItem card={item} cards={config} data={data} updateStatus={this.updateStatus}/> -- Gitblit v1.8.0