From deb62af5e824c1e02a2df0564ac46a8b17128836 Mon Sep 17 00:00:00 2001 From: zyc <1439655764@qq.com> Date: Thu, 29 Jan 2026 11:46:51 +0800 Subject: [PATCH] fix bug --- src/pages/Batch/index.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pages/Batch/index.tsx b/src/pages/Batch/index.tsx index 10b1bae..10095f3 100644 --- a/src/pages/Batch/index.tsx +++ b/src/pages/Batch/index.tsx @@ -10,7 +10,6 @@ import { DatePicker, Select, Space, - Tag, Upload, Progress, } from 'antd'; @@ -23,7 +22,6 @@ import { } from '@ant-design/icons'; import { ProTable } from '@ant-design/pro-components'; import type { ProColumns, ActionType } from '@ant-design/pro-components'; -import dayjs from 'dayjs'; import { getBatches, createBatch, @@ -36,7 +34,7 @@ import type { DeviceType } from '../../api/deviceType'; const BatchPage: React.FC = () => { const navigate = useNavigate(); - const actionRef = useRef(); + const actionRef = useRef(null); const [modalVisible, setModalVisible] = useState(false); const [importModalVisible, setImportModalVisible] = useState(false); const [selectedBatchId, setSelectedBatchId] = useState(null);