mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-02-23 21:36:38 +08:00
优化代码
This commit is contained in:
parent
1f84fa3ae3
commit
801cbe0462
@ -117,11 +117,11 @@
|
||||
let that = this;
|
||||
if(_question.qaType == '3003'){
|
||||
this.vc.navigateTo({
|
||||
url: "/pages/questionAnswer/ownerVote?qaId=" + _question.qaId+"&objType="+_question.objType
|
||||
url: "/pages/questionAnswer/ownerVote?qaId=" + _question.qaId+"&objType="+_question.objType+"&userQaId="+_question.userQaId
|
||||
});
|
||||
}else{
|
||||
this.vc.navigateTo({
|
||||
url: "/pages/questionAnswer/questionAnswerDetail?qaId=" + _question.qaId+"&objType="+_question.objType
|
||||
url: "/pages/questionAnswer/questionAnswerDetail?qaId=" + _question.qaId+"&objType="+_question.objType+"&userQaId="+_question.userQaId
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
@ -74,7 +74,8 @@
|
||||
},
|
||||
titles: [],
|
||||
qaId: '',
|
||||
communityId: ''
|
||||
communityId: '',
|
||||
userQaId:''
|
||||
};
|
||||
},
|
||||
|
||||
@ -86,6 +87,8 @@
|
||||
context.onLoad(options);
|
||||
this.communityId = context.getCurrentCommunity().communityId;
|
||||
this.qaId = options.qaId;
|
||||
this.userQaId = options.userQaId;
|
||||
|
||||
this._queryQuestionAnswer();
|
||||
|
||||
queryQuestionAnswerTitle({
|
||||
@ -127,6 +130,7 @@
|
||||
page: 1,
|
||||
row: 1,
|
||||
qaId:this.qaId,
|
||||
userQaId:this.userQaId,
|
||||
communityId: that.communityId,
|
||||
})
|
||||
.then(_data => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user