提交app版本重复升级bug
parent
8e0bde3428
commit
132c64f438
|
@ -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