diff --git a/src/pages/home2/components/releaseQA/index.vue b/src/pages/home2/components/releaseQA/index.vue index bdfc4eb55..fb4bd7a76 100644 --- a/src/pages/home2/components/releaseQA/index.vue +++ b/src/pages/home2/components/releaseQA/index.vue @@ -16,6 +16,9 @@ prop="problemDescription" label="问题描述" align="center"> + { }); + + this.toAnswer() }, methods:{ + toAnswer () { + if (this.$route.query && this.$route.query.id) { + this.$http._getData('/lawss/AskQuestions/askQuestionById',{ + id: this.$route.query.id + }).then(res => { + if (res.ok){ + this.handleDetail(res.data) + } + }) + } + }, formatClassification(e){ for (let i=0; i