import { Button, Result } from 'antd'; import { history } from 'umi'; const NoFoundPage = () => { return ( history.push('/')}> 返回主页 } /> ) }; export default NoFoundPage;