2019年7月15日
摘要: 1.在编程式导航中,如果提供了path,params会被忽略;需要提供name,或手写完整的带有参数的path;以下写法可取: const userId = '123'; 1.this.$router.push({name: 'user', params: {userId}}); 2.this.$r 阅读全文
posted @ 2019-07-15 17:25 千年寒冰90 阅读(685) 评论(0) 推荐(0) 编辑