500.js 396 Bytes
Newer Older
afc163's avatar
afc163 committed
1
import React from 'react';
陈帅's avatar
陈帅 committed
2
import { formatMessage } from 'umi/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 9 10 11 12 13 14
const Exception500 = () => (
  <Exception
    type="500"
    desc={formatMessage({ id: 'app.exception.description.500' }, {})}
    linkElement={Link}
    backText={formatMessage({ id: 'app.exception.back' })}
  />
);

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