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

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