提交app版本重复升级bug

master
学习很差啦 2022-09-06 16:25:53 +08:00
parent f281011a47
commit dcf77ba862
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.version) {
if (res.versionCode.replace(/\./g, "") <= version.version.replace(/\./g, "") ) {
return false;
}