404.js 356 Bytes
Newer Older
陈帅's avatar
陈帅 committed
1
import React from 'react';
zinkey's avatar
zinkey committed
2
import Link from 'umi/link';
Rayron Victor's avatar
Rayron Victor committed
3
import { formatMessage } from 'umi/locale';
4
import Exception from '@/components/Exception';
陈帅's avatar
陈帅 committed
5 6

export default () => (
Jing Ma's avatar
Jing Ma committed
7 8 9
  <Exception
    type="404"
    linkElement={Link}
Rayron Victor's avatar
Rayron Victor committed
10 11
    desc={formatMessage({ id: 'app.exception.description.404' })}
    backText={formatMessage({ id: 'app.exception.back' })}
Jing Ma's avatar
Jing Ma committed
12
  />
陈帅's avatar
陈帅 committed
13
);