From ef9a364da5d8b9b11f5f93fe470148efa2387cba Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Mon, 24 May 2021 13:11:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/questionAnswer/questionAnswer.vue | 6 +++--- pages/questionAnswerDetail/questionAnswerDetail.vue | 5 +++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/pages/questionAnswer/questionAnswer.vue b/pages/questionAnswer/questionAnswer.vue index ef86de9..194ea70 100644 --- a/pages/questionAnswer/questionAnswer.vue +++ b/pages/questionAnswer/questionAnswer.vue @@ -49,6 +49,9 @@ onLoad: function(options) { let that = this; context.onLoad(options); + }, + onShow: function() { + let that = this; that.communityId = context.getUserInfo().communityId; that.userId = context.getUserInfo().userId; @@ -76,9 +79,6 @@ that.questions = _data.data; }) }, - onShow: function() { - let that = this; - }, methods: { gotoDetail: function(_question) { if(_question.state == '0'){ diff --git a/pages/questionAnswerDetail/questionAnswerDetail.vue b/pages/questionAnswerDetail/questionAnswerDetail.vue index 9ee1a7b..0fc0dc1 100644 --- a/pages/questionAnswerDetail/questionAnswerDetail.vue +++ b/pages/questionAnswerDetail/questionAnswerDetail.vue @@ -18,6 +18,11 @@ :checked="item.radio[valueIndex].checked?true:false" :value="valueItem.valueId"> + + + + +