在vue项目中我们使用路径的方式一般有一下两种方式:第一种: 取值:this.$route.query.id;
第二种: 需要在router上配置对应的数据key, 通过,this.$route.params.userId取值;
posted on 2019-12-21 16:29 忘忧很努力呀~ 阅读(2035) 评论(0) 编辑 收藏 举报