From 54cb7910bd4664fb9240320d6427abe1537adce0 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sun, 4 Jun 2023 07:31:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJu.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJu.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/SrcJu.js b/SrcJu.js index defed84c..ebbfcc4d 100644 --- a/SrcJu.js +++ b/SrcJu.js @@ -701,14 +701,15 @@ function erji() { details.pageid = pageid; writeFile(detailsfile, $.stringify(details)); } + //更换收藏封面 + if(oldMY_PARAMS.name==erjiextra.name && pic && oldMY_PARAMS.pic!=erjiextra.pic){ + setPagePicUrl(pic); + } //切换源时更新收藏数据,以及分享时附带接口 if (typeof (setPageParams) != "undefined" && oldMY_PARAMS.name==erjiextra.name && oldMY_PARAMS.stype==erjiextra.stype && ((oldMY_PARAMS.sourcedata && oldMY_PARAMS.surl!=erjiextra.surl) || !oldMY_PARAMS.sourcedata)) { delete sourcedata2['parse'] erjiextra.sourcedata = sourcedata2; setPageParams(erjiextra); - if(pic && oldMY_PARAMS.pic!=erjiextra.pic){ - setPagePicUrl(pic);//更换收藏封面 - } } //收藏更新最新章节 if (parse['最新']) {