From 686527fea90fe22dcfb4f37318ec21c9f864f43c Mon Sep 17 00:00:00 2001 From: jevons0411 Date: Sat, 27 Aug 2022 21:01:23 +0800 Subject: [PATCH] Update SrcJuying.js --- SrcJuying.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SrcJuying.js b/SrcJuying.js index ca0e7c41..9ed96bbf 100644 --- a/SrcJuying.js +++ b/SrcJuying.js @@ -973,11 +973,11 @@ function Version() { if (parseFloat(newVersion.SrcJuying) > parseFloat(nowVersion)) { confirm({ title:'发现新版本,是否更新?', - content:nowVersion+'=>'+newVersion.SrcJuying+'\n'+newVersion.SrcJuyingdesc[eval(newVersion.SrcJuying)], + content:nowVersion+'=>'+newVersion.SrcJuying+'\n'+newVersion.SrcJuyingdesc[newVersion.SrcJuying], confirm:`deleteCache();refreshPage();`, cancel:'' }) - log('检测到新版本!\nV'+newVersion.SrcJuying+'版本》'+newVersion.SrcJuyingdesc[eval(newVersion.SrcJuying)]); + log('检测到新版本!\nV'+newVersion.SrcJuying+'版本》'+newVersion.SrcJuyingdesc[newVersion.SrcJuying]); } putMyVar('SrcJuying-Version', '-V'+newVersion.SrcJuying); } catch (e) { }