mirror of
https://github.com/putyy/res-downloader.git
synced 2026-01-12 14:14:55 +08:00
fix: version comparison
This commit is contained in:
@@ -108,7 +108,7 @@ onMounted(()=>{
|
||||
is.value = true
|
||||
|
||||
request({
|
||||
url: 'https://res.putyy.com/version.json',
|
||||
url: 'https://res.putyy.com/version.json?v=' + Date.now(),
|
||||
method: 'get',
|
||||
}).then((res)=>{
|
||||
showUpdate.value = compareVersions(res.version, store.appInfo.Version) === 1
|
||||
|
||||
Reference in New Issue
Block a user