wx.showModal 点击没有反应

发布于 8 年前作者 pingxia2605 次浏览最后编辑 8 年前来自 issues

wx.showModal 点击没有任何反应,无法正常弹出wx.showModal.

wx.showModal({
title: '提示',
   content: '确定全部标为已读?',
   success: async function(res) {
if (res.confirm) {
wx.showToast({
title: '已全部标为已读',
               icon: 'none',
               mask: true,
               duration: 2000
           })
}
}
})

出现的机型如下

2 回复
mintan
mintan1 楼6 年前

去掉 async 看看。改为:

success: (res) =>  {   }

mzeng
mzeng2 楼6 年前

你好,该问题已处理的,请等待新版发布