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

diff --git a/src/menu/components/card/cardsimplecomponent/index.jsx b/src/menu/components/card/cardsimplecomponent/index.jsx
index dce5198..c30754d 100644
--- a/src/menu/components/card/cardsimplecomponent/index.jsx
+++ b/src/menu/components/card/cardsimplecomponent/index.jsx
@@ -289,7 +289,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