|
|
@@ -87,6 +87,7 @@ const MessageList = () => {
|
|
|
<View className="text-[14px] text-[#3d3d3d]">
|
|
|
{item.type_id === 4 ? "点赞了你的动态" : ""}
|
|
|
{item.type_id === 5 ? "点赞了你的评论" : ""}
|
|
|
+ {item.type_id === 2 ? "评论了你的动态" : ""}
|
|
|
{item.type_id === 3 ? item.reply_comment_info.content : ""}
|
|
|
{item.type_id === 1
|
|
|
? `${
|
|
|
@@ -115,7 +116,7 @@ const MessageList = () => {
|
|
|
onClick={() => {
|
|
|
setShowCommentInput(true);
|
|
|
setCommentPostId(item.source_post_info.id);
|
|
|
- setCommentParentCommentId(item.source_info.id);
|
|
|
+ setCommentParentCommentId(item.reply_comment_info.id);
|
|
|
}}
|
|
|
>
|
|
|
<View className="pt-[5px] pb-[5px] pl-[10px] pr-[10px] bg-[#f8f8f8] flex items-center rounded-[20px]">
|
|
|
@@ -161,6 +162,7 @@ const MessageList = () => {
|
|
|
onClose={() => setShowCommentInput(false)}
|
|
|
onOK={() => {
|
|
|
setShowCommentInput(false);
|
|
|
+ getNotificationList();
|
|
|
}}
|
|
|
/>
|
|
|
) : null}
|