404.js 392 B

123456789101112131415
  1. import React from 'react';
  2. import { formatMessage } from 'umi/locale';
  3. import Link from 'umi/link';
  4. import Exception from '@/components/Exception';
  5. const Exception404 = () => (
  6. <Exception
  7. type="404"
  8. desc={formatMessage({ id: 'app.exception.description.404' })}
  9. linkElement={Link}
  10. backText={formatMessage({ id: 'app.exception.back' })}
  11. />
  12. );
  13. export default Exception404;