提交app版本重复升级bug
parent
f281011a47
commit
dcf77ba862
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue