add antd pro
parent
31188c0bb0
commit
31e48dafc8
|
|
@ -1,7 +1,7 @@
|
||||||
import { Button, Upload } from 'antd';
|
import { Button, Upload } from 'antd';
|
||||||
import { UploadOutlined } from '@ant-design/icons';
|
import { UploadOutlined } from '@ant-design/icons';
|
||||||
import { FC } from 'react';
|
import { FC } from 'react';
|
||||||
import { readExcelFile } from '../utils/excel';
|
import { readExcelFile } from '../../utils/excel';
|
||||||
|
|
||||||
const DutyTablePage: FC = () => {
|
const DutyTablePage: FC = () => {
|
||||||
return (
|
return (
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import { Routes, Route } from 'react-router-dom';
|
import { Routes, Route } from 'react-router-dom';
|
||||||
import Todo from './components/Todo';
|
import Todo from './components/Todo';
|
||||||
import DutyTablePage from './pages/DutyTable';
|
import DutyTablePage from './pages/duty/DutyTable';
|
||||||
|
|
||||||
export const routes = {
|
export const routes = {
|
||||||
main: '/',
|
main: '/',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue