From f71bb7d6a8907b9219f39361725e94c28259bd61 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 06 四月 2021 18:01:00 +0800 Subject: [PATCH] 2021-04-06 --- src/utils/utils.js | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/utils/utils.js b/src/utils/utils.js index 87e45c3..d0a9b07 100644 --- a/src/utils/utils.js +++ b/src/utils/utils.js @@ -729,6 +729,11 @@ sql = sql.replace(/@\$|\$@/ig, '') } + // 澶栬仈鏁版嵁搴撴浛鎹� + if (window.GLOB.externalDatabase !== null) { + sql = sql.replace(/@db@/ig, window.GLOB.externalDatabase) + } + if ((window.GLOB.systemType !== 'production' && options.sysType !== 'cloud') || window.debugger === true) { console.info(sql) } -- Gitblit v1.8.0