测试
This commit is contained in:
parent
b660b31e9a
commit
13c6126f23
@ -295,6 +295,7 @@ const goBackEvent = () => {
|
||||
history.pushState({ page: 1 }, null, window.location.href);
|
||||
//然后监听popstate事件
|
||||
window.addEventListener("popstate", (event) => {
|
||||
console.log("退出");
|
||||
wx.miniProgram.navigateBack();
|
||||
});
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user