| | |
| | | const Footer = () => { |
| | | return ( |
| | | <DefaultFooter |
| | | copyright="@2019 vincent" |
| | | style={{ |
| | | background: 'none', |
| | | }} |
| | | links={[ |
| | | { |
| | | key: 'Vincent Admin', |
| | | title: 'Vincent Admin', |
| | | }, |
| | | { |
| | | key: 'github', |
| | | title: <GithubOutlined />, |
| | | href: 'https://github.com/luxiaotao1123', |
| | | blankTarget: true, |
| | | }, |
| | | ]} |
| | | /> |
| | | ); |
| | | }; |
| | |
| | | const [currentRow, setCurrentRow] = useState(); |
| | | const [searchParam, setSearchParam] = useState({}); |
| | | |
| | | const [boxHeight, setBoxHeight] = useState(window.innerHeight - 450); |
| | | const [boxHeight, setBoxHeight] = useState(window.innerHeight - 390); |
| | | |
| | | |
| | | useEffect(() => { |
| | | const handleResize = () => setBoxHeight(window.innerHeight - 450); |
| | | const handleResize = () => setBoxHeight(window.innerHeight - 390); |
| | | window.addEventListener('resize', handleResize); |
| | | return () => window.removeEventListener('resize', handleResize); |
| | | }, []); |
| | |
| | | ]; |
| | | |
| | | return ( |
| | | <PageContainer> |
| | | <PageContainer |
| | | header={{ |
| | | breadcrumb: {}, |
| | | }} |
| | | > |
| | | <div style={{ width: '100%', float: 'right' }}> |
| | | <ProTable |
| | | key="user" |