index.tsx 373 Bytes
Newer Older
xiaohuoni's avatar
xiaohuoni committed
1 2 3
import React from 'react';
import { formatMessage } from 'umi-plugin-react/locale';
import Link from 'umi/link';
xiaohuoni's avatar
xiaohuoni committed
4
import Exception from './components/Exception';
xiaohuoni's avatar
xiaohuoni committed
5

陈帅's avatar
陈帅 committed
6
export default () => (
xiaohuoni's avatar
xiaohuoni committed
7 8
  <Exception
    type="403"
xiaohuoni's avatar
xiaohuoni committed
9
    desc={formatMessage({ id: 'BLOCK_NAME.description.403' })}
xiaohuoni's avatar
xiaohuoni committed
10
    linkElement={Link}
xiaohuoni's avatar
xiaohuoni committed
11
    backText={formatMessage({ id: 'BLOCK_NAME.exception.back' })}
xiaohuoni's avatar
xiaohuoni committed
12 13
  />
);