500.js 398 B

123456789101112131415
  1. import React from 'react';
  2. import { formatMessage } from 'umi/locale';
  3. import Link from 'umi/link';
  4. import Exception from 'ant-design-pro/lib/Exception';
  5. const Exception500 = () => (
  6. <Exception
  7. type="500"
  8. desc={formatMessage({ id: 'app.exception.description.500' })}
  9. linkElement={Link}
  10. backText={formatMessage({ id: 'app.exception.back' })}
  11. />
  12. );
  13. export default Exception500;