- 增加权限控制 组件
This commit is contained in:
15
admin-web/src/components/AuthorityControl/demo/demo.md
Normal file
15
admin-web/src/components/AuthorityControl/demo/demo.md
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
---
|
||||
|
||||
使用 demo
|
||||
|
||||
|
||||
authKey: 代表key的权限
|
||||
|
||||
---
|
||||
|
||||
```jsx harmony
|
||||
<AuthorityControl authKey="home.button">
|
||||
<Button type="primary">按钮 控制</Button>
|
||||
</AuthorityControl>
|
||||
```
|
||||
Reference in New Issue
Block a user