onUnhandledRejection: function (result) {
const { reason } = result
uni.showToast({ title: reason, icon: "none" })
},
HbuilderX版本:3.0.4
微信小程序正常,官方文档没写平台差异
onUnhandledRejection: function (result) {
const { reason } = result
uni.showToast({ title: reason, icon: "none" })
},
HbuilderX版本:3.0.4
微信小程序正常,官方文档没写平台差异
0 个回复