From ed1cc4adc145f8685d04763e19fbd6b0bd80c136 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 09 六月 2022 16:22:44 +0800
Subject: [PATCH] 2022-06-09

---
 src/menu/components/share/actioncomponent/dragaction/card.jsx |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/menu/components/share/actioncomponent/dragaction/card.jsx b/src/menu/components/share/actioncomponent/dragaction/card.jsx
index 2e38f86..2f251a7 100644
--- a/src/menu/components/share/actioncomponent/dragaction/card.jsx
+++ b/src/menu/components/share/actioncomponent/dragaction/card.jsx
@@ -37,6 +37,8 @@
     hasProfile = true
   } else if (card.funcType === 'print') {
     hasProfile = true
+  } else if (card.funcType === 'megvii') {
+    hasProfile = true
   }
 
   let btnElement = null
@@ -48,6 +50,9 @@
     _class = 'swiper swiper-' + card.color
     show = 'button'
   }
+  if (card.hidden === 'true') {
+    _class += ' mk-hidden'
+  }
   let warning = null
   if (card.OpenType === 'innerpage' && !card.pageTemplate) {
     warning = <WarningOutlined style={{color: 'orange', marginLeft: '5px'}}/>

--
Gitblit v1.8.0