From 5733fc7e386a51217ba6d07e272ca8bd95045abc Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 16 一月 2025 10:14:35 +0800
Subject: [PATCH] Merge branch 'develop'

---
 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 54f4ea0..ea2add7 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 = typeof(element.width) === 'number' ? element.width : 12
+      element.width = element.width || element.width === 0 ? element.width : 12
     }
 
     element.uuid = _uuid

--
Gitblit v1.8.0