Merge pull request '解决问题' (#12) from anln_1.0 into main
Reviewed-on: https://git.wishpal.cn/wishpal_ironfan/tiefen_space_op/pulls/12
This commit is contained in:
commit
b963665f97
|
@ -82,75 +82,77 @@ const PostMachineReviewContent = (props) => {
|
|||
<div className="flex flex-col">
|
||||
<p>文案审核结果:</p>
|
||||
<div>
|
||||
{data.text.status === 2 || data.text.status === 5 ? (
|
||||
{data.text?.status === 2 || data.text?.status === 5 ? (
|
||||
<p className="text-green-400">无违规</p>
|
||||
) : (
|
||||
<div className="flex flex-wrap gap-1">
|
||||
{data.text.spam_label_details && (
|
||||
{data.text?.spam_label_details && (
|
||||
<div className="border-2 border-black bg-gray-200">
|
||||
<p>垃圾审核:</p>
|
||||
<ul>
|
||||
{data.text.spam_label_details?.map((item, index) => (
|
||||
{data.text?.spam_label_details?.map((item, index) => (
|
||||
<li key={index}>{item}</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
)}
|
||||
{data.text.politics_label_details && (
|
||||
{data.text?.politics_label_details && (
|
||||
<div className="border-2 border-black bg-gray-200">
|
||||
<p>敏感审核:</p>
|
||||
<ul>
|
||||
{data.text.politics_label_details?.map((item, index) => (
|
||||
{data.text?.politics_label_details?.map((item, index) => (
|
||||
<li key={index}>{item}</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
)}
|
||||
{data.text.abuse_label_details && (
|
||||
{data.text?.abuse_label_details && (
|
||||
<div className="border-2 border-black bg-gray-200">
|
||||
<p>辱骂审核:</p>
|
||||
<ul>
|
||||
{data.text.abuse_label_details?.map((item, index) => (
|
||||
{data.text?.abuse_label_details?.map((item, index) => (
|
||||
<li key={index}>{item}</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
)}
|
||||
{data.text.terrorism_label_details && (
|
||||
{data.text?.terrorism_label_details && (
|
||||
<div className="border-2 border-black bg-gray-200">
|
||||
<p>暴恐审核:</p>
|
||||
<ul>
|
||||
{data.text.terrorism_label_details?.map((item, index) => (
|
||||
<li key={index}>{item}</li>
|
||||
))}
|
||||
{data.text?.terrorism_label_details?.map(
|
||||
(item, index) => (
|
||||
<li key={index}>{item}</li>
|
||||
)
|
||||
)}
|
||||
</ul>
|
||||
</div>
|
||||
)}
|
||||
{data.text.porn_label_details && (
|
||||
{data.text?.porn_label_details && (
|
||||
<div className="border-2 border-black bg-gray-200">
|
||||
<p>鉴黄审核:</p>
|
||||
<ul>
|
||||
{data.porn_label_details?.map((item, index) => (
|
||||
{data?.porn_label_details?.map((item, index) => (
|
||||
<li key={index}>{item}</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
)}
|
||||
{data.text.flood_label_details && (
|
||||
{data.text?.flood_label_details && (
|
||||
<div className="border-2 border-black bg-gray-200">
|
||||
<p>灌水审核:</p>
|
||||
<ul>
|
||||
{data.text.flood_label_details?.map((item, index) => (
|
||||
{data.text?.flood_label_details?.map((item, index) => (
|
||||
<li key={index}>{item}</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
)}
|
||||
{data.text.contraband_label_details && (
|
||||
{data.text?.contraband_label_details && (
|
||||
<div className="border-2 border-black bg-gray-200">
|
||||
<p>违禁审核:</p>
|
||||
<ul>
|
||||
{data.text.contraband_label_details?.map(
|
||||
{data.text?.contraband_label_details?.map(
|
||||
(item, index) => (
|
||||
<li key={index}>{item}</li>
|
||||
)
|
||||
|
@ -173,14 +175,14 @@ const PostMachineReviewContent = (props) => {
|
|||
{data.mediaType === "image" && (
|
||||
<div>
|
||||
{data.media?.map((item, index) => {
|
||||
if (item.status === 2 || item.status === 5) {
|
||||
if (item?.status === 2 || item?.status === 5) {
|
||||
return (
|
||||
<p key={index} className="text-green-400">
|
||||
图{index + 1}无违规
|
||||
</p>
|
||||
);
|
||||
}
|
||||
if (item.status === 10) {
|
||||
if (item?.status === 10) {
|
||||
return (
|
||||
<p key={index} className="text-green-400">
|
||||
图{index + 1}审核失败
|
||||
|
|
Loading…
Reference in New Issue