This commit is contained in:
熊潇 2024-10-12 19:19:57 +08:00
parent bff92667f4
commit c4e0ec2a53

View File

@ -4,7 +4,7 @@ import { Fragment, useEffect, useMemo, useState } from 'react';
import { useDemoStore } from '../store';
import { useShallow } from 'zustand/react/shallow';
import { Form } from 'antd';
import { useNavigate } from 'react-router';
import { useNewNavigate } from '@/modules';
import { EditOutlined, SettingOutlined, LinkOutlined, SaveOutlined, DeleteOutlined, LeftOutlined } from '@ant-design/icons';
import clsx from 'clsx';
import { isObjectNull } from '@/utils/is-null';
@ -84,7 +84,7 @@ const FormModal = () => {
);
};
export const List = () => {
const navicate = useNavigate();
const navicate = useNewNavigate();
const demoStore = useDemoStore(
useShallow((state) => {
return {