403.js 518 Bytes
Newer Older
εΌ η§€ηŽ²'s avatar
εΌ η§€ηŽ² committed
1 2
import React, { Component } from 'react';
import { injectIntl } from 'react-intl';
偏右's avatar
偏右 committed
3
import { Link } from 'dva/router';
niko's avatar
niko committed
4
import Exception from 'components/Exception';
5

εΌ η§€ηŽ²'s avatar
εΌ η§€ηŽ² committed
6 7 8 9 10 11 12 13 14 15 16 17 18 19
class Exception403 extends Component {
  render() {
    const { intl } = this.props;
    return (
      <Exception
        type="403"
        desc={intl.formatMessage({ id: 'app.exception.description.403' }, {})}
        style={{ minHeight: 500, height: '80%' }}
        linkElement={Link}
      />
    );
  }
}
export default injectIntl(Exception403);