JavaScript/vue.js/页面跳转

来自康健生活
Kangkk​(留言 | 贡献)2020年7月3日 (五) 13:28的版本 (创建页面,内容为“== this.$router == <syntaxhighlight lang="javascript"> this.$router.replace('/login')</syntaxhighlight> == window.location.href == <syntaxhighlight lang="javascript"…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

this.$router

this.$router.replace('/login')

window.location.href

window.location.href="b.html";