摘要: .eslintrc.js 阅读全文
posted @ 2019-03-07 18:06 ·悟空· 阅读(552) 评论(0) 推荐(0)
摘要: 在路由跳转的时候除了用router-link标签以外需要在script标签在事件里面跳转,所以有个方法就是在script标签里面写this.$router.push('要跳转的路径名'), 在写的时候发现这两个为什么不同,在控制台打出this的时候,发现$route和$router同时存在 $rou 阅读全文
posted @ 2019-03-07 11:42 ·悟空· 阅读(5168) 评论(0) 推荐(0)