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"> + + + + +