From fc241324087e605b145e8bbcc4ee3aece61dbf14 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 21 三月 2022 15:59:45 +0800
Subject: [PATCH] 2022-03-21

---
 src/tabviews/custom/components/share/normalheader/index.jsx |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/tabviews/custom/components/share/normalheader/index.jsx b/src/tabviews/custom/components/share/normalheader/index.jsx
index 9643142..92848b7 100644
--- a/src/tabviews/custom/components/share/normalheader/index.jsx
+++ b/src/tabviews/custom/components/share/normalheader/index.jsx
@@ -24,7 +24,7 @@
 
     this.setState({
       title: config.plot ? config.plot.title : config.wrap.title,
-      show: !['normaltable', 'propcard'].includes(config.subtype) && config.search && config.search.length > 0
+      show: !['normaltable', 'propcard', 'editable'].includes(config.subtype) && config.search && config.search.length > 0
     })
   }
 
@@ -46,7 +46,7 @@
     if (!title && !show) return null
 
     return (
-      <div className="normal-header" style={config.headerStyle}>
+      <div className={'normal-header' + (show ? ' header-search' : '')} style={config.headerStyle}>
         <span className="title">{title}</span>
         {show ? <SearchComponent config={config} BID={BID} menuType={menuType} refreshdata={this.props.refresh}/> : null}
       </div>

--
Gitblit v1.8.0