From 93037fcc51906d416c2120f9d61c03a9eccd82a3 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 02 一月 2025 14:29:00 +0800 Subject: [PATCH] 2024-01-02 --- src/menu/components/card/balcony/index.jsx | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/menu/components/card/balcony/index.jsx b/src/menu/components/card/balcony/index.jsx index e11f323..1410c94 100644 --- a/src/menu/components/card/balcony/index.jsx +++ b/src/menu/components/card/balcony/index.jsx @@ -213,7 +213,7 @@ MKEmitter.emit('cardAddElement', card.uuid, res) } else { res.eleType = 'button' - res.width = res.width || 12 + res.width = typeof(res.width) === 'number' ? res.width : 12 MKEmitter.emit('cardAddElement', card.uuid, res) } resolve({status: true}) -- Gitblit v1.8.0