From 880a41a2135d944169d94028f19344ca66b673a0 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 02 十一月 2020 18:23:45 +0800
Subject: [PATCH] 2020-11-02

---
 src/tabviews/zshare/actionList/normalbutton/index.jsx |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/tabviews/zshare/actionList/normalbutton/index.jsx b/src/tabviews/zshare/actionList/normalbutton/index.jsx
index 5456b53..f8cce80 100644
--- a/src/tabviews/zshare/actionList/normalbutton/index.jsx
+++ b/src/tabviews/zshare/actionList/normalbutton/index.jsx
@@ -954,6 +954,10 @@
                   } else {
                     _option.sql = _option.sql.replace(/@\$|\$@/ig, '')
                   }
+                  // 澶栬仈鏁版嵁搴撴浛鎹�
+                  if (window.GLOB.externalDatabase !== null) {
+                    _option.sql = _option.sql.replace(/@db@/ig, `[${window.GLOB.externalDatabase}]..`)
+                  }
 
                   cell.data_sql = Utils.formatOptions(_option.sql)
                   cell.base_sql = window.btoa(window.encodeURIComponent(_option.sql))

--
Gitblit v1.8.0