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/cardcomponent/index.jsx |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/menu/components/card/cardcomponent/index.jsx b/src/menu/components/card/cardcomponent/index.jsx
index ce42f87..54f4ea0 100644
--- a/src/menu/components/card/cardcomponent/index.jsx
+++ b/src/menu/components/card/cardcomponent/index.jsx
@@ -400,7 +400,7 @@
 
     if (element.copyType === 'action') {
       element.eleType = 'button'
-      element.width = element.width || 12
+      element.width = typeof(element.width) === 'number' ? element.width : 12
     }
 
     element.uuid = _uuid

--
Gitblit v1.8.0