添加跳转问题件详情页动态路由

This commit is contained in:
mengxiaolong
2020-08-03 10:41:10 +08:00
parent 886f9024b5
commit 887232da08
3 changed files with 4 additions and 4 deletions

View File

@@ -234,13 +234,13 @@ export default {
},
async getQuestionDetail() {
const rs = await getQuestionDetail({
id: this.$route.query.id
id: this.$route.params.id
})
console.log(rs)
}
},
async created() {
this.issueType = this.$route.query.type
this.issueType = this.$route.params.type
this.getBankList()
this.getQuestionDetail()
},