mirror of
https://github.com/iczer/vue-antd-admin
synced 2025-04-05 07:27:06 +08:00
commit
56635a948b
@ -31,7 +31,7 @@ permission = {
|
|||||||
operation: ['add', 'delete', 'edit', 'close'] //权限下的操作权限
|
operation: ['add', 'delete', 'edit', 'close'] //权限下的操作权限
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
你也可以设置 role 的值为字符串,比如 permission = 'form', 它等同于:
|
你也可以设置 permission 的值为字符串,比如 permission = 'form', 它等同于:
|
||||||
```js
|
```js
|
||||||
permission = {
|
permission = {
|
||||||
id: 'form'
|
id: 'form'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user