From 774a65efc97acebf6893a198f8173f8c70a5604b Mon Sep 17 00:00:00 2001 From: liudongqi Date: Wed, 4 Sep 2024 12:00:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routes/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/index.js b/routes/index.js index 8932f28..fa32358 100644 --- a/routes/index.js +++ b/routes/index.js @@ -28,7 +28,7 @@ router.post('/rsCookie', async (req, res) => { } let jsText; - if (jsStr == null) { + if (jsStr == null || jsStr === "") { let jsPath = AreaNameEnum.getByAreaName(areaName).JS_FILE if (jsPath == null) { console.error('未找到js文件')