vue路由跳轉總結

參考地址:https://www.cnblogs.com/hwldyz/p/9204346.html this.$router.push、replace、go的區別 1.this.$router.push() 描述:跳轉到不同的url,但這個方法會向history棧添加一個記錄,點擊後退會返回到上一個頁面。 用法: 2.this.$router.replace() 描述:同樣是跳轉到指定的url,
相關文章
相關標籤/搜索