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/custom/components/search/main-search/index.jsx |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/tabviews/custom/components/search/main-search/index.jsx b/src/tabviews/custom/components/search/main-search/index.jsx
index e6ab5e5..d25824b 100644
--- a/src/tabviews/custom/components/search/main-search/index.jsx
+++ b/src/tabviews/custom/components/search/main-search/index.jsx
@@ -20,7 +20,6 @@
     config: PropTypes.object,        // 缁勪欢閰嶇疆淇℃伅
     mainSearch: PropTypes.any,       // 澶栧眰鎼滅储鏉′欢
     menuType: PropTypes.any,         // 鑿滃崟绫诲瀷
-    dataManager: PropTypes.any,      // 鏁版嵁鏉冮檺
     refreshdata: PropTypes.func      // 鍒锋柊鏁版嵁
   }
 
@@ -71,7 +70,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