企业微信 location.replace 跳转之后history没有被替换?

小游戏 企业微信 微信支付 小程序 文章 2020-07-30 21:10 536 0 全屏看文

AI助手支持GPT4.0

企业微信 location.replace 跳转之后history没有被替换?

企业微信h5

进入页面后会先判断是否已授权,url授权地址

使用 location.replace(url) 跳转之后history没有被替换?

location.href = url 效果一样


After the enterprise wechat H5 enters the page, it will first judge whether it is authorized, and the URL is authorized to use the address location.replace (URL) the history is not replaced after the jump? And location.href =The URL works the same

回答:

Mrcuix:

有人回答这个问题吗

-EOF-

AI助手支持GPT4.0