From d441fa1e1cc80f4ea462a750a42a2b25c1f2b202 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 04 十二月 2020 15:17:51 +0800
Subject: [PATCH] 2020-12-04

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

diff --git a/src/tabviews/zshare/topSearch/index.jsx b/src/tabviews/zshare/topSearch/index.jsx
index e1a4d13..6d848f9 100644
--- a/src/tabviews/zshare/topSearch/index.jsx
+++ b/src/tabviews/zshare/topSearch/index.jsx
@@ -15,7 +15,6 @@
 class MainSearch extends Component {
   static propTpyes = {
     BID: PropTypes.any,          // 鐖剁骇Id锛岀敤浜庢煡璇笅鎷夐�夋嫨椤�
-    dataManager: PropTypes.any,  // 鏁版嵁鏉冮檺
     menuType: PropTypes.any,     // 鑿滃崟鏉冮檺锛屾槸鍚︿负HS
     searchlist: PropTypes.array, // 鎼滅储鏉′欢鍒楄〃
     dict: PropTypes.object       // 瀛楀吀椤�
@@ -67,7 +66,7 @@
         if (item.resourceType === '1' && item.dataSource) {
           let _option = Utils.getSelectQueryOptions(item)
 
-          if (this.props.dataManager) { // 鏁版嵁鏉冮檺
+          if (sessionStorage.getItem('dataM') === 'true') { // 鏁版嵁鏉冮檺
             _option.sql = _option.sql.replace(/\$@/ig, '/*')
             _option.sql = _option.sql.replace(/@\$/ig, '*/')
           } else {

--
Gitblit v1.8.0