【修复】修复安卓app提示更新,弹窗点击确定下载但是未执行的问题。

This commit is contained in:
大灰灰
2022-07-21 00:04:49 +08:00
parent 80049c17ca
commit 6ee7ed56ce

View File

@@ -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('用户点击取消');
} }
} }
}) })