This commit is contained in:
gotoeasy 2023-11-14 12:47:37 +08:00
parent 25590c0db2
commit 7d92dcffd2

View File

@ -184,7 +184,7 @@ function checkVersion() {
verInfo.value = `当前版本 ${rs.result.version} ,有新版本 ${rs.result.latest} 可更新`
}
//
fetch(`https://glc.gotoeasy.top/glogcenter/current/version.json?v=${verInfo.value}`)
fetch(`https://glc.gotoeasy.top/glogcenter/current/version.json?v=${rs.result.version}`)
.then(response => response.json())
.then(data => { // tip
if (data.version && normalizeVer(rs.result.version) < normalizeVer(data.version)) {