balibabu
feat: layout the knowledge list page and modify the page switching button in the header (#48)
af3ef26
| import { Button, Result } from 'antd'; | |
| import { history } from 'umi'; | |
| const NoFoundPage = () => { | |
| return (<Result | |
| status="404" | |
| title="404" | |
| subTitle="页面未找到,请输入正确的地址。" | |
| extra={< Button type="primary" onClick={() => history.push('/')}> | |
| 返回主页 | |
| </Button>} | |
| /> | |
| ) | |
| }; | |
| export default NoFoundPage; | |