From 325aa13d3b61d1c066f8fcab107003ef36713df3 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 16 一月 2025 10:20:09 +0800 Subject: [PATCH] 2025-01-16 --- 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 1410c94..c1bef15 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 = typeof(res.width) === 'number' ? res.width : 12 + res.width = res.width || res.width === 0 ? res.width : 12 MKEmitter.emit('cardAddElement', card.uuid, res) } resolve({status: true}) -- Gitblit v1.8.0