调整版本更新,修复鉴权显示bug,调整商品认证页面样式错误
This commit is contained in:
12
App.vue
12
App.vue
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user