app更新判断问题

master
lemon橪 2022-04-26 17:21:03 +08:00
parent 06e609613e
commit b1cfdef41c
1 changed files with 1 additions and 1 deletions

View File

@ -854,7 +854,7 @@ function downloadPopup(data, callback, cancelCallback, rebootCallback) {
export default function (isPrompt = false) {
getCurrentNo((version) => {
getServerNo((res) => {
if (res.versionCode.replace(/\./g, "") <= version.versionCode) {
if (res.versionCode.replace(/\./g, "") <= version.version) {
return false;
}