修改更新策略
parent
41f58fb29c
commit
1568aa4572
|
|
@ -42,7 +42,7 @@ export default function () {
|
||||||
|
|
||||||
const info = resData[systemInfo.platform];
|
const info = resData[systemInfo.platform];
|
||||||
let resInfo = null
|
let resInfo = null
|
||||||
if (info == null || appVersion >= info?.version) {
|
if (info == null || systemInfo.appVersionCode >= info?.version) {
|
||||||
resInfo = {
|
resInfo = {
|
||||||
code: 0
|
code: 0
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue