登录社区云,与社区用户共同成长
邀请您加入社区
1、query 方式传参:this.$router.push({path: this.componentName,query: {dataList: [...]}});取值:this.$route.query.dataList;2、params 方式传参:this.$router.push({pa...
this.$router.push({ path: this.componentName, query: { dataList: [...] } });
this.$route.query.dataList;
this.$router.push({ path: this.componentName, params: { dataList: [...] } });
this.$route.params.dataList;
Vue社区为您提供最前沿的新闻资讯和知识内容
更多推荐
Mac 使用vscode 创建vue项目后修改文件提示:权限不足,以超级用户身份重试
基于nodejs+vue云计算的城乡医疗卫生服务系统[程序+论文+开题]-计算机毕业设计
ElasticSearch迁移至openGauss
扫一扫分享内容
所有评论(0)