From 29432c9167e3fcdf83f35d0bb9dbe9acb7c7ffbf Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 22 六月 2021 14:35:23 +0800
Subject: [PATCH] 2021-06-22

---
 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