更新文本错误

依据上下文,此处应为“permission”
master
xcchcaptain 3 years ago committed by GitHub
parent 816d19f7da
commit a9b3da4d19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/advance/authority.md

@ -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…
Cancel
Save