优化代码

This commit is contained in:
java110 2023-09-21 15:11:20 +08:00
parent 801cbe0462
commit 5c36854dc4

View File

@ -74,7 +74,8 @@
},
titles: [],
qaId: '',
communityId: ''
communityId: '',
userQaId:''
};
},
@ -86,6 +87,7 @@
context.onLoad(options);
this.communityId = context.getCurrentCommunity().communityId;
this.qaId = options.qaId;
this.userQaId = options.userQaId;
this._queryQuestionAnswer();
queryQuestionAnswerTitle({
@ -127,6 +129,7 @@
page: 1,
row: 1,
qaId:this.qaId,
userQaId:this.userQaId,
communityId: that.communityId,
})
.then(_data => {