js 推断 当页面无法回退时(history.go(-1)),关闭网页

129 阅读1分钟

当前为新弹出的页面,没法做goback操作即history.go(-1),点击返回button时直接关闭页面,否则就退回到前一页。

iShot_2022-08-25_上午9.06.00.png