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/index.js | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/index.js b/src/index.js index 7e310fb..d7d92dc 100644 --- a/src/index.js +++ b/src/index.js @@ -59,6 +59,12 @@ GLOB.lineColor = config.lineColor || '' GLOB.filter = config.filter || '' + if (config.externalDatabase !== false && config.externalDatabase !== 'false' && config.externalDatabase !== undefined) { + GLOB.externalDatabase = config.externalDatabase || '' + } else { + GLOB.externalDatabase = null + } + // 鍙湁涓氬姟绯荤粺鎵嶅彲浠ヨ缃负姝e紡绯荤粺 if (options.sysType === 'local' && (config.systemType === 'official' || config.systemType === 'production')) { GLOB.systemType = 'production' -- Gitblit v1.8.0