/*
 * @Author: code4eat awesomedema@gmail.com
 * @Date: 2024-07-19 15:01:35
 * @LastEditors: code4eat awesomedema@gmail.com
 * @LastEditTime: 2024-08-23 11:20:28
 * @FilePath: /CostAccountingSys/src/pages/404.tsx
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import React from 'react';
import { Button } from 'antd';
import { history } from 'umi';

const NotFoundPage: React.FC = () => {
  return (
    <div style={{ textAlign: 'center', marginTop: 50 }}>
      <h1>404 - 页面未找到</h1>
      <p>抱歉，您访问的页面不存在。</p>
      <Button type="primary" onClick={() => history.push('/')}>
        返回首页
      </Button>
    </div>
  );
};

export default NotFoundPage;
