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

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

* docs: 更新中英文文档示例以支持字符串权限码绑定更新了中文和英文文档中的示例
2024-08-27 11:17:04 +08:00
..
src perf: optimize the access directive to support string passing (#4246) 2024-08-27 11:17:04 +08:00
package.json chore: release v5.1.2 2024-08-25 11:02:15 +08:00
postcss.config.mjs refactor(project): business changed its name to effects, and universal-ui changed its name to common-ui 2024-07-13 17:25:15 +08:00
tailwind.config.mjs refactor(project): business changed its name to effects, and universal-ui changed its name to common-ui 2024-07-13 17:25:15 +08:00
tsconfig.json refactor(project): business changed its name to effects, and universal-ui changed its name to common-ui 2024-07-13 17:25:15 +08:00