docs: fix document typos (#4196)

pull/48/MERGE
zyy 2024-08-20 10:27:07 +08:00 committed by GitHub
parent 33637584a8
commit 4d7e6bba56
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ accessStore.setAccessCodes(accessCodes);
找到 `getAccessCodes` 对应的接口,可根据业务逻辑进行调整。
权限返回的数据结构为字符串数组,例如:`['AC_100100', 'AC_100110', 'AC_100120', 'AC_100010']`
权限返回的数据结构为字符串数组,例如:`['AC_100100', 'AC_100110', 'AC_100120', 'AC_100010']`
有了权限码,就可以使用 `@vben/access` 提供的`AccessControl`组件及API来进行按钮的显示与隐藏。