vue获取导航栏携带参数
vue获取导航栏携带参数_vue 菜单带参数_不想学习只想玩的博客-CSDN博客
this.$route.query.name
created() {
if(this.$route.query.voyage){
this.sectionName = this.$route.query.sectionName
sectionInfo.task = this.$route.query.task
sectionInfo.voyage.voyageName = this.$route.query.voyage
sectionInfo.voyage.id = -1
sectionInfo.info.surveyType = this.$route.query.observeType
sectionInfo.info.subjectType = this.$route.query.subjectType
this.sectionInfo = sectionInfo
this.showDetail = true
}
}