api: getUpdateManager
问题如图, 更新弹窗重叠:
代码如下:
onShow(options) {
const updateManager = wx.getUpdateManager()
updateManager.onUpdateReady( (res) => {
wx.showModal({
title: '更新提示',
content: '新版本已经准备好,是否重启应用?',
success: function (res) {
if (res.confirm) {
// 新的版本已经下载好,调用 applyUpdate 应用新版本并重启
updateManager.applyUpdate()
}
}
})
})
}
机型及版本:一加7t pro 微信 8.0.24
期望:更新弹窗正常显示
请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
出现问题的只有这一款机型是嘛?