#
luxiaotao1123
2024-09-29 e4fead2e56d729d91be4ad9d7241bbe30f5af378
zy-acs-flow/src/page/mission/MissionListContent.jsx
@@ -10,6 +10,7 @@
} from 'react-admin';
import { MissionColumn } from './MissionColumn';
import request from '@/utils/request';
import { CUSTOM_PAGES_DATA_INTERVAL } from '@/config/setting';
export const MissionListContent = () => {
    const translate = useTranslate();
@@ -34,7 +35,15 @@
            })
        }
        httpStages();
    }, []);
    }, [notify]);
    useEffect(() => {
        const intervalId = setInterval(() => {
            refetch();
        }, CUSTOM_PAGES_DATA_INTERVAL);
        return () => clearInterval(intervalId);
    }, [data, refetch])
    useEffect(() => {
        // if (data) {