From 342d3498191f1683059fe586209ec920545e0bf9 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 28 九月 2021 13:38:09 +0800
Subject: [PATCH] 2021-09-28

---
 src/tabviews/zshare/topSearch/index.jsx |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/tabviews/zshare/topSearch/index.jsx b/src/tabviews/zshare/topSearch/index.jsx
index c2a3416..d2c6e39 100644
--- a/src/tabviews/zshare/topSearch/index.jsx
+++ b/src/tabviews/zshare/topSearch/index.jsx
@@ -77,6 +77,9 @@
     }
 
     if (searchlist) {
+      if (setting && setting.show === 'false') {
+        showButton = false
+      }
       _searchlist = fromJS(searchlist).toJS()
     } else if (config) {
       _searchlist = fromJS(config.search).toJS()

--
Gitblit v1.8.0