diff --git a/src/pages/PostMachineReview/index.jsx b/src/pages/PostMachineReview/index.jsx index 299e0f6..bb6c9d0 100644 --- a/src/pages/PostMachineReview/index.jsx +++ b/src/pages/PostMachineReview/index.jsx @@ -82,75 +82,77 @@ const PostMachineReviewContent = (props) => {

文案审核结果:

- {data.text.status === 2 || data.text.status === 5 ? ( + {data.text?.status === 2 || data.text?.status === 5 ? (

无违规

) : (
- {data.text.spam_label_details && ( + {data.text?.spam_label_details && (

垃圾审核:

    - {data.text.spam_label_details?.map((item, index) => ( + {data.text?.spam_label_details?.map((item, index) => (
  • {item}
  • ))}
)} - {data.text.politics_label_details && ( + {data.text?.politics_label_details && (

敏感审核:

    - {data.text.politics_label_details?.map((item, index) => ( + {data.text?.politics_label_details?.map((item, index) => (
  • {item}
  • ))}
)} - {data.text.abuse_label_details && ( + {data.text?.abuse_label_details && (

辱骂审核:

    - {data.text.abuse_label_details?.map((item, index) => ( + {data.text?.abuse_label_details?.map((item, index) => (
  • {item}
  • ))}
)} - {data.text.terrorism_label_details && ( + {data.text?.terrorism_label_details && (

暴恐审核:

    - {data.text.terrorism_label_details?.map((item, index) => ( -
  • {item}
  • - ))} + {data.text?.terrorism_label_details?.map( + (item, index) => ( +
  • {item}
  • + ) + )}
)} - {data.text.porn_label_details && ( + {data.text?.porn_label_details && (

鉴黄审核:

    - {data.porn_label_details?.map((item, index) => ( + {data?.porn_label_details?.map((item, index) => (
  • {item}
  • ))}
)} - {data.text.flood_label_details && ( + {data.text?.flood_label_details && (

灌水审核:

    - {data.text.flood_label_details?.map((item, index) => ( + {data.text?.flood_label_details?.map((item, index) => (
  • {item}
  • ))}
)} - {data.text.contraband_label_details && ( + {data.text?.contraband_label_details && (

违禁审核:

    - {data.text.contraband_label_details?.map( + {data.text?.contraband_label_details?.map( (item, index) => (
  • {item}
  • ) @@ -173,14 +175,14 @@ const PostMachineReviewContent = (props) => { {data.mediaType === "image" && (
    {data.media?.map((item, index) => { - if (item.status === 2 || item.status === 5) { + if (item?.status === 2 || item?.status === 5) { return (

    图{index + 1}无违规

    ); } - if (item.status === 10) { + if (item?.status === 10) { return (

    图{index + 1}审核失败