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/cardcellcomponent/dragaction/action.jsx | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/menu/components/card/cardcellcomponent/dragaction/action.jsx b/src/menu/components/card/cardcellcomponent/dragaction/action.jsx index 729095c..c22c252 100644 --- a/src/menu/components/card/cardcellcomponent/dragaction/action.jsx +++ b/src/menu/components/card/cardcellcomponent/dragaction/action.jsx @@ -55,6 +55,10 @@ let btnElement = null let _style = resetStyle(card.style) + if (_style.display === 'none') { + _style.display = 'block' + } + if (card.OpenType === 'form') { if (card.formType === 'switch') { btnElement = (<Switch style={_style} className={card.size === 'large' ? 'ant-switch-large' : ''} size={card.size} checkedChildren={card.openText || ''} unCheckedChildren={card.closeText || ''}/>) -- Gitblit v1.8.0