From 69d182c8cee63fb850a001b0edf4b613e8aa01c2 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 02 四月 2021 17:58:35 +0800 Subject: [PATCH] 2021-04-02 --- src/index.js | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index acc30d7..fcc809d 100644 --- a/src/index.js +++ b/src/index.js @@ -70,7 +70,6 @@ let GLOB = {} GLOB.appId = config.appId || '' GLOB.lineColor = config.lineColor || '' - GLOB.filter = config.filter || '' if (config.externalDatabase !== false && config.externalDatabase !== 'false' && config.externalDatabase !== undefined) { GLOB.externalDatabase = config.externalDatabase ? `[${config.externalDatabase}]..` : '' @@ -159,7 +158,7 @@ document.title = GLOB.platTitle || '' - if (GLOB.filter === 'true') { + if (config.filter === 'true') { let html = document.getElementsByTagName('html')[0] if (html) { -- Gitblit v1.8.0