mirror of
https://github.com/chillzhuang/Sword
synced 2024-06-27 00:52:36 +08:00
426 B
426 B
order | title | ||||
---|---|---|---|---|---|
2 |
|
zh-CN
403 页面,配合自定义操作。
en-US
403 page with custom operations.
import Exception from 'ant-design-pro/lib/Exception';
import { Button } from 'antd';
const actions = (
<div>
<Button type="primary">Home</Button>
<Button>Detail</Button>
</div>
);
ReactDOM.render(
<Exception type="403" actions={actions} />
, mountNode);