广场动态增加状态判断

This commit is contained in:
al 2024-11-22 16:47:51 +08:00
parent ca3149ec34
commit 2f7d1c76b7
1 changed files with 8 additions and 0 deletions

View File

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