403.md 438 Bytes
Newer Older
1 2
---
order: 2
ddcat1115's avatar
ddcat1115 committed
3
title:
Shuai Chen's avatar
Shuai Chen committed
4 5
  zh-CN: 403 页面
  en-US: 403 Page
6 7
---

ddcat1115's avatar
ddcat1115 committed
8 9
## zh-CN

10 11
403 页面,配合自定义操作。

ddcat1115's avatar
ddcat1115 committed
12 13 14 15
## en-US

403 page with custom operations.

16
````jsx
nikogu's avatar
nikogu committed
17
import Exception from 'ant-design-pro/lib/Exception';
18 19 20 21
import { Button } from 'antd';

const actions = (
  <div>
ddcat1115's avatar
ddcat1115 committed
22 23
    <Button type="primary">Home</Button>
    <Button>Detail</Button>
24 25 26 27 28 29
  </div>
);
ReactDOM.render(
  <Exception type="403" actions={actions} />
, mountNode);
````