暂存,修改navigate和添加图片

This commit is contained in:
2024-10-12 12:38:19 +08:00
parent 929aaebf20
commit 3eaa94eb46
29 changed files with 244 additions and 58 deletions

View File

@@ -3,7 +3,7 @@ import { Fragment, useEffect, useMemo, useState } from 'react';
import { useOrgStore } from '../store';
import { useShallow } from 'zustand/react/shallow';
import { Form } from 'antd';
import { useNavigate } from 'react-router';
import { useNewNavigate } from '@/modules';
import {
EditOutlined,
SettingOutlined,
@@ -91,7 +91,7 @@ const FormModal = () => {
);
};
export const List = () => {
const navicate = useNavigate();
const navicate = useNewNavigate();
const userStore = useOrgStore(
useShallow((state) => {
return {