index.tsx 373 Bytes
Newer Older
陈帅's avatar
陈帅 committed
1
import Link from 'umi/link';
2
import React from 'react';
xiaohuoni's avatar
xiaohuoni committed
3 4
import { formatMessage } from 'umi-plugin-react/locale';
import Exception from './components/Exception';
5

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