|
|
@@ -33,6 +33,10 @@ export function useCommentsList() {
|
|
|
}
|
|
|
getCommentsList(params).then((res) => {
|
|
|
commentsList.value = res.records;
|
|
|
+ // 若有回复,将回复内容前面加上“回复:”
|
|
|
+ commentsList.value.forEach((item) => {
|
|
|
+ item.reply = '回复: ' + item.reply;
|
|
|
+ });
|
|
|
totalPage.value = res.totalPage;
|
|
|
totalRow.value = res.totalRow;
|
|
|
});
|