vue---導航

  vue用this.$router.go()和this.$router.push()進行導航。

this.$router.go() 值爲1或者-1, 1前進一頁  -1後退一頁。

this.$router.push()  跳轉到指定的頁面。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章