Merge pull request '广场动态增加状态判断' (#15) from anln_1.0 into main

Reviewed-on: https://git.wishpal.cn/wishpal_ironfan/tiefen_space_op/pulls/15
This commit is contained in:
yezian 2024-11-22 16:48:43 +08:00
commit d66c3a5e8d
1 changed files with 8 additions and 0 deletions

View File

@ -168,6 +168,14 @@ const PostMachineReviewContent = (props) => {
</p>
);
}
if (!item?.status) {
return (
<p key={index} className="text-green-400">
正在审核中...
</p>
);
}
return (
<div key={index}>
<p className="text-red-400">{index + 1}违规情况</p>