From 3763eba63c5b74fdc46b8af54b70143782475ab2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B7=A1=E6=B7=A1=E9=A3=8E=E8=BD=BBV5?= Date: Thu, 14 Jul 2022 03:08:46 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=90=AF=E5=8A=A8ob=E6=98=AF?= =?UTF-8?q?=E6=8A=A5=E5=8A=A0=E8=BD=BD=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.js b/main.js index 13c52e0..e334c6b 100644 --- a/main.js +++ b/main.js @@ -47,6 +47,9 @@ let include = [ // 匹配URL function matchUrl(e) { + if (typeof(e) == "undefined"){ + return false; + } console.log("开始访问:" + JSON.stringify(e)) for (var key in include) { let item = include[key] -- Gitee