From 971cc3cf104d9ae2c9080bdf8f93564c6a8815f8 Mon Sep 17 00:00:00 2001 From: lijingqi <1437862981@qq.com> Date: Wed, 4 Dec 2024 23:13:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=81=94=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SecurityState/SafetyAccident/index.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pages/SecurityServiceOverview/SecurityState/SafetyAccident/index.tsx b/src/pages/SecurityServiceOverview/SecurityState/SafetyAccident/index.tsx index 854f4dc3..1ee41191 100644 --- a/src/pages/SecurityServiceOverview/SecurityState/SafetyAccident/index.tsx +++ b/src/pages/SecurityServiceOverview/SecurityState/SafetyAccident/index.tsx @@ -4,6 +4,8 @@ import services from '@/services'; import SafetyModal from '../SafetyTips/SafetyModal'; import AccidentItem from './AccidentItem'; import styles from './index.less'; +import { divide } from 'lodash'; +import EmptySpace from '@/components/EmptySpace'; const SafetyAccident = () => { const [selectedItem, setSelectedItem] = useState(null); @@ -35,11 +37,11 @@ const SafetyAccident = () => {
安全事故通报
-
+ {data?.data?.records?.length?
{data?.data?.records?.map((item: any) => { return handleItemClick(item)} />; })} -
+
:
} {selectedItem && (