From c14f6b68695cf587c16fc3e7461e4493ed5e1284 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Thu, 10 Oct 2024 14:57:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJuying.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJuying.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/SrcJuying.js b/SrcJuying.js index bfbe4676..0a636578 100644 --- a/SrcJuying.js +++ b/SrcJuying.js @@ -647,8 +647,10 @@ function dianboerji() { } if(updateParams){ //判断是否从收藏或历史进入二级,且接口文件还在data目录的,更新到rule目录 - if($.type(isFromHistoryPage)=="function" && isFromHistoryPage() && jkdata.url.startsWith(libspath)){ - jkdata.url = jkfilespath + jkdata.url.substr(jkdata.url.lastIndexOf('/')+1); + if($.type(isFromHistoryPage)=="function"){ + if(isFromHistoryPage() && jkdata.url.startsWith(libspath)){ + jkdata.url = jkfilespath + jkdata.url.substr(jkdata.url.lastIndexOf('/')+1); + } } //保存换源数据进MY_PARAMS if(sextra.url && (sextra.url!=MY_PARAMS.url || MY_PARAMS.data.url!=jkdata.url)){