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 10 11 12 13
  <Exception
    type="500"
    desc={formatMessage({ id: 'BLOCK_NAME.description.500' })}
    linkElement={Link}
    backText={formatMessage({ id: 'BLOCK_NAME.exception.back' })}
  />
);