403.js 530 Bytes
Newer Older
张秀玲's avatar
张秀玲 committed
1
import React, { Component } 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

张秀玲's avatar
张秀玲 committed
6 7 8 9 10
class Exception403 extends Component {
  render() {
    return (
      <Exception
        type="403"
陈帅's avatar
陈帅 committed
11
        desc={formatMessage({ id: 'app.exception.description.403' }, {})}
张秀玲's avatar
张秀玲 committed
12 13
        style={{ minHeight: 500, height: '80%' }}
        linkElement={Link}
陈帅's avatar
陈帅 committed
14
        backText={formatMessage({ id: 'app.exception.back' })}
张秀玲's avatar
张秀玲 committed
15 16 17 18
      />
    );
  }
}
陈帅's avatar
陈帅 committed
19
export default Exception403;