403.js 442 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 15
const Exception403 = () => (
  <Exception
    type="403"
    desc={formatMessage({ id: 'app.exception.description.403' }, {})}
    style={{ minHeight: 500, height: '80%' }}
    linkElement={Link}
    backText={formatMessage({ id: 'app.exception.back' })}
  />
);

陈帅's avatar
陈帅 committed
16
export default Exception403;