404.js 405 Bytes
Newer Older
afc163's avatar
afc163 committed
1
import React from 'react';
陈小聪's avatar
陈小聪 committed
2
import { formatMessage } from 'umi-plugin-react/locale';
zinkey's avatar
zinkey committed
3
import Link from 'umi/link';
4
import Exception from '@/components/Exception';
5

afc163's avatar
afc163 committed
6 7 8
const Exception404 = () => (
  <Exception
    type="404"
afc163's avatar
afc163 committed
9
    desc={formatMessage({ id: 'app.exception.description.404' })}
afc163's avatar
afc163 committed
10 11 12 13 14
    linkElement={Link}
    backText={formatMessage({ id: 'app.exception.back' })}
  />
);

陈帅's avatar
陈帅 committed
15
export default Exception404;