wx.手机上wx.showModal样式与模拟器上不同
- 当前 Bug 的表现(可附上截图)
- 预期表现
- 复现路径
- 提供一个最简复现 Demo
wx.showModal({
title: ‘学习打卡’,
content: ‘你已经检查打卡’ + that.data.total_count + ‘次了,继续加油哦!’,
showCancel: false,
success: function (res) {
if (res.confirm) {
wx.navigateTo({
url: ‘…/punchrecord/punchrecord’,
});
}
}
});