admin-vben/packages/effects/access/src
handsomeFu 8adb22847d
perf: optimize the access directive to support string passing (#4246)
* perf: 优化access指令用法并改进参数类型

重构access权限指令以接受角色和代码形式的权限检查。通过支持数组和字符串作为指令值来简化用法,从而提高灵活性。此外,改进指令绑定类型定义以提升类型安全性。

* docs: 更新中英文文档示例以支持字符串权限码绑定更新了中文和英文文档中的示例
2024-08-27 11:17:04 +08:00
..
access-control.vue refactor: Integrate the @vben-core/shared package 2024-07-30 21:05:03 +08:00
accessible.ts chore(docs): update function parameter comments (#4215) 2024-08-22 21:52:44 +08:00
directive.ts perf: optimize the access directive to support string passing (#4246) 2024-08-27 11:17:04 +08:00
index.ts refactor: Integrate the @vben-core/shared package 2024-07-30 21:05:03 +08:00
use-access.ts refactor: Separate store 2024-07-30 21:10:28 +08:00