File size: 372 Bytes
6b8fc2c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;