修复展示bug

This commit is contained in:
yezian 2024-04-28 20:31:34 +08:00
parent e0d492c442
commit 68aeb1d23f
1 changed files with 2 additions and 7 deletions

View File

@ -60,14 +60,10 @@ const ZonePostMachineReviewContent = (props) => {
render: (data) => ( render: (data) => (
<div className="flex flex-col"> <div className="flex flex-col">
<p>文案审核结果</p> <p>文案审核结果</p>
<p className="text-green-400"> <p className="text-green-400">{data.text_audit_opinion}</p>
{data.text_audit_opinion ? data.text_audit_opinion : "通过"}
</p>
<hr className="w-full" /> <hr className="w-full" />
<p>媒体审核结果</p> <p>媒体审核结果</p>
<p className="text-green-400"> <p className="text-green-400">{data.image_audit_opinion}</p>
{data.image_audit_opinion ? data.image_audit_opinion : "通过"}
</p>
</div> </div>
), ),
}, },
@ -193,7 +189,6 @@ const ZonePostMachineReviewContent = (props) => {
}), }),
}); });
const temData = await response.json(); const temData = await response.json();
console.log(temData);
if (temData.ret === -1) { if (temData.ret === -1) {
alert(temData.msg); alert(temData.msg);
return; return;