Vue路由

2018-11-07  本文已影响0人  lydia56

1.this.router.push('Index') 2.返回 this.router.go(-1)
3.接收参数 this.route.query.id 4.带参数跳转 this.router.push({ path: '/knowledge#detail', query: { id: this.id }})

上一篇 下一篇

猜你喜欢

热点阅读