From b656f58958a5ca54e710b980b98f4b542ff6369f Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 10 六月 2021 18:58:21 +0800
Subject: [PATCH] 2021-06-10

---
 src/menu/components/share/normalheader/index.jsx |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/src/menu/components/share/normalheader/index.jsx b/src/menu/components/share/normalheader/index.jsx
index f2274ba..732d111 100644
--- a/src/menu/components/share/normalheader/index.jsx
+++ b/src/menu/components/share/normalheader/index.jsx
@@ -18,6 +18,10 @@
     updateComponent: PropTypes.func  // 閰嶇疆鏇存柊
   }
 
+  state = {
+    appType: sessionStorage.getItem('appType')
+  }
+
   componentDidMount () {
     MKEmitter.addListener('submitStyle', this.getStyle)
   }
@@ -54,9 +58,15 @@
 
   render() {
     const { config, defaultshow, hideSearch } = this.props
+    const { appType } = this.state
 
     let title = config.plot ? config.plot.title : config.wrap.title
     let show = true
+
+    if (!title && appType === 'mob' && config.type === 'card' && config.subtype === 'datacard' && config.action && config.action.length) {
+      title = ' '
+    }
+
     if (defaultshow === 'hidden') {
       if (!title && (!config.search || config.search.length === 0)) {
         show = false

--
Gitblit v1.8.0