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