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

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

diff --git a/src/tabviews/zshare/topSearch/index.jsx b/src/tabviews/zshare/topSearch/index.jsx
index cf78035..2b5ffe7 100644
--- a/src/tabviews/zshare/topSearch/index.jsx
+++ b/src/tabviews/zshare/topSearch/index.jsx
@@ -112,7 +112,7 @@
           } else { // 鍚堝苟璇锋眰锛屽尯鍒嗘湰鍦板強绯荤粺
             // 澶栬仈鏁版嵁搴撴浛鎹�
             if (window.GLOB.externalDatabase !== null) {
-              _option.sql = _option.sql.replace(/@db@/ig, `[${window.GLOB.externalDatabase}]..`)
+              _option.sql = _option.sql.replace(/@db@/ig, window.GLOB.externalDatabase)
             }
             if (item.database === 'sso') {
               mainItems.push(`select '${item.field}' as obj_name,'${_option.field}' as arr_field,'${window.btoa(window.encodeURIComponent(_option.sql))}' as LText`)

--
Gitblit v1.8.0