From e1cee96b38805bcccf48e7bcb9d296f2bc54c720 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 24 一月 2025 11:10:32 +0800
Subject: [PATCH] 2025-01-24

---
 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 d7d2fe6..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 = element.width || 12
+      element.width = element.width || element.width === 0 ? element.width : 12
     }
 
     element.uuid = _uuid

--
Gitblit v1.8.0