Vue中路由導航三種方式

1.使用a標籤的href實現頁面跳轉。 跳轉 2.使用聲明式導航router-link 跳轉 3.使用編程式導航 router.push() <div @click=「Goto()」>跳轉 友情提醒:this. r o u t e 和 t h i s . route和this. route和this.router的區別 在Vue中this. r o u t e 是 路 由 [ 參 數 對 象 ]
相關文章
相關標籤/搜索