|
|
@@ -10,6 +10,7 @@ import type { ProjectModelState } from '../model'
|
|
|
import { DeleteOutlined } from '@ant-design/icons'
|
|
|
import ProjectModal, { ModalType } from './components/ProjectModal'
|
|
|
import dayjs from 'dayjs'
|
|
|
+import { PageContainer } from '@ant-design/pro-layout'
|
|
|
|
|
|
type ListProps = ConnectProps & {
|
|
|
pTypeList: { label: string; value: string }[]
|
|
|
@@ -99,7 +100,7 @@ const List: React.FC<ListProps> = ({ dispatch, pTypeList }) => {
|
|
|
}
|
|
|
]
|
|
|
return (
|
|
|
- <div>
|
|
|
+ <PageContainer title={false}>
|
|
|
<ProTable<API.ProjectListItem>
|
|
|
rowKey="ID"
|
|
|
params={state.params}
|
|
|
@@ -140,7 +141,7 @@ const List: React.FC<ListProps> = ({ dispatch, pTypeList }) => {
|
|
|
reloadTable={() => tRef.current?.reload()}
|
|
|
setVisible={(visible: boolean) => setState({ ...state, visible })}
|
|
|
/>
|
|
|
- </div>
|
|
|
+ </PageContainer>
|
|
|
)
|
|
|
}
|
|
|
|