fix bug
Some checks failed
Build and Deploy Web / build-and-deploy (push) Failing after 1m6s

This commit is contained in:
zyc 2026-01-29 11:46:51 +08:00
parent ce11450971
commit deb62af5e8

View File

@ -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<ActionType>();
const actionRef = useRef<ActionType>(null);
const [modalVisible, setModalVisible] = useState(false);
const [importModalVisible, setImportModalVisible] = useState(false);
const [selectedBatchId, setSelectedBatchId] = useState<number | null>(null);