调整版本更新,修复鉴权显示bug,调整商品认证页面样式错误

This commit is contained in:
唐明明
2021-11-10 11:50:51 +08:00
parent 273386e99f
commit ea94e54d2b
6 changed files with 47 additions and 110 deletions

12
App.vue
View File

@@ -26,16 +26,16 @@
// 获取系统版本号
getVersions({
platform: plus.os.name,
version: plus.runtime.versionCode
version : plus.runtime.versionCode
}).then(res => {
if(res.update){
uni.showModal({
title: "更新提示",
content: res.note || '版本更新信息',
confirmText: "更新",
success: (res) => {
if (res.confirm) {
if (plus.os.name=="Android") {
success: modalRes => {
if (modalRes.confirm) {
if (plus.os.name == "Android") {
plus.runtime.openURL(res.info.download);
} else{
uni.showToast({
@@ -43,8 +43,8 @@
icon : 'none'
})
}
}
}
}
}
})
}
}).catch(err => {