2018年7月9日

(转) vue-router 2.0 常用基础知识点之router.push()

摘要: router.push(location) http://www.jianshu.com/p/ee7ff3d1d93d 除了使用 <router-link> 创建 a 标签来定义导航链接,我们还可以借助 router 的实例方法,通过编写代码来实现。router.push(location)想要导航 阅读全文

posted @ 2018-07-09 09:36 今天的代码你撸了嘛 阅读(1023) 评论(0) 推荐(0) 编辑

导航