From 31e48dafc86964f43a440763f5b9f42002c8b47a Mon Sep 17 00:00:00 2001 From: Dawn_Ocean <1785590531@qq.com> Date: Mon, 25 Mar 2024 20:04:18 +0800 Subject: [PATCH] add antd pro --- src/pages/{ => duty}/DutyTable.tsx | 2 +- src/router.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/pages/{ => duty}/DutyTable.tsx (91%) diff --git a/src/pages/DutyTable.tsx b/src/pages/duty/DutyTable.tsx similarity index 91% rename from src/pages/DutyTable.tsx rename to src/pages/duty/DutyTable.tsx index 1a54713..6f32600 100644 --- a/src/pages/DutyTable.tsx +++ b/src/pages/duty/DutyTable.tsx @@ -1,7 +1,7 @@ import { Button, Upload } from 'antd'; import { UploadOutlined } from '@ant-design/icons'; import { FC } from 'react'; -import { readExcelFile } from '../utils/excel'; +import { readExcelFile } from '../../utils/excel'; const DutyTablePage: FC = () => { return ( diff --git a/src/router.tsx b/src/router.tsx index 711aea2..8c0f46b 100644 --- a/src/router.tsx +++ b/src/router.tsx @@ -1,6 +1,6 @@ import { Routes, Route } from 'react-router-dom'; import Todo from './components/Todo'; -import DutyTablePage from './pages/DutyTable'; +import DutyTablePage from './pages/duty/DutyTable'; export const routes = { main: '/',