20 lines
453 B
TypeScript
20 lines
453 B
TypeScript
import { Button, Result } from 'antd'
|
|
import { Link } from 'react-router-dom'
|
|
|
|
export function NotFoundPage() {
|
|
return (
|
|
<div className="not-found">
|
|
<Result
|
|
status="404"
|
|
title="这页没有找到"
|
|
subTitle="地址可能写错了,或者页面还在迁移中。"
|
|
extra={
|
|
<Link to="/">
|
|
<Button type="primary">回商行首页</Button>
|
|
</Link>
|
|
}
|
|
/>
|
|
</div>
|
|
)
|
|
}
|