From 88a9891e64eaef1d7dcf4f1515b7e681553911e9 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Thu, 27 Apr 2023 14:10: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 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SrcJu.js b/SrcJu.js index 64060618..1db044c0 100644 --- a/SrcJu.js +++ b/SrcJu.js @@ -50,9 +50,10 @@ function yiji() { let d = []; if(MY_PAGE==1){ if(getMyVar('SrcJu-VersionCheck', '0') == '0'){ - Version(); let programversion = $.require("config").version || 0; + log(programversion); if(programversion<10){ + log("需要update"); confirm({ title: "温馨提示", content: "发现小程序新版本", @@ -64,6 +65,7 @@ function yiji() { }) }); } + Version(); downloadicon(); } let adminbtn = runModes;