mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-02-05 05:19:49 +08:00
【修复】修复安卓app提示更新,弹窗点击确定下载但是未执行的问题。
This commit is contained in:
@@ -144,9 +144,12 @@
|
|||||||
//提醒用户更新
|
//提醒用户更新
|
||||||
title: '更新提示',
|
title: '更新提示',
|
||||||
content: res.data.note,
|
content: res.data.note,
|
||||||
success: res => {
|
success: function (resOpen) {
|
||||||
if (res.confirm) {
|
if (resOpen.confirm) {
|
||||||
plus.runtime.openURL(res.data.android)
|
plus.runtime.openURL(res.data.android)
|
||||||
|
console.log('用户点击确定');
|
||||||
|
} else if (resOpen.cancel) {
|
||||||
|
console.log('用户点击取消');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user