diff --git a/api/topicItem.js b/api/topicItem.js index 04ea562..6a0340c 100644 --- a/api/topicItem.js +++ b/api/topicItem.js @@ -10,6 +10,7 @@ export const topicItemScore = async (data) => { }; // 评论 +// data = { topicId, itemId, content, parentCommentId?, replyToCommentId? } export const topicItemComment = async (data) => { return request({ url: "/api/rating/topic/comment/item", @@ -52,4 +53,4 @@ export const topicItemAdd = async (data) => { method: "POST", data, }); -}; \ No newline at end of file +}; diff --git a/components/AttitudePanel/AttitudePanel.vue b/components/AttitudePanel/AttitudePanel.vue index 22137d5..33d26e3 100644 --- a/components/AttitudePanel/AttitudePanel.vue +++ b/components/AttitudePanel/AttitudePanel.vue @@ -15,13 +15,20 @@ {{ action.label }} + + + 正在回复 + @{{ replyTarget.replyToName || replyTarget.name }} + + 取消 +