wx.enableAlertBeforeUnload({
message: "您确认退出么?",
success: function (res) {},
fail: function (errMsg) {
//console.log(errMsg);
},
});
wx.enableAlertBeforeUnload({
message: "您确认退出么?",
success: function (res) {},
fail: function (errMsg) {
//console.log(errMsg);
},
});
本文标题:微信小程序 监听返回页面并弹窗
本文链接:https://www.haomeiwen.com/subject/teomvltx.html
网友评论