在从 b 到 c 的时候用 window.location.replace(url) 代替 window.location.href = url。如果原来是直接的 <a href="xxx">xxxxxxx</a>,就改成 href=javascript:window.location.replace("xxx");
在从 b 到 c 的时候用
window.location.replace(url)
代替window.location.href = url
。如果原来是直接的<a href="xxx">xxxxxxx</a>
,就改成href=javascript:window.location.replace("xxx");