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 是 路 由 [ 参 数 对 象 ]
相关文章
相关标签/搜索