admin-vben5/packages/@core/ui-kit/tabs-ui
ming4762 3d9dba965f
perf: perf the control logic of Tab (#6220)
* perf: perf the control logic of Tab

* 每个标签页Tab使用唯一的key来控制关闭打开等逻辑
* 统一函数获取tab的key
* 通过3种方式设置tab key:1、使用router query参数pageKey 2、使用路由meta参数fullPathKey设置使用fullPath或path作为key
* 单个路由可以打开多个标签页
* 如果设置fullPathKey为false,则query变更不会打开新的标签(这很实用)

* perf: perf the control logic of Tab

* perf: perf the control logic of Tab

* 测试用例适配

* perf: perf the control logic of Tab

* 解决AI提示的警告
2025-05-18 10:33:02 +08:00
..
src perf: perf the control logic of Tab (#6220) 2025-05-18 10:33:02 +08:00
build.config.ts refactor(@vben-core/tabs-ui): refactor tabs chrome component 2024-07-14 15:18:41 +08:00
package.json chore: release v5.5.6 2025-05-06 22:32:58 +08:00
postcss.config.mjs chore: update uikit -> ui-kit 2024-06-23 20:03:41 +08:00
tailwind.config.mjs chore: update uikit -> ui-kit 2024-06-23 20:03:41 +08:00
tsconfig.json chore: update uikit -> ui-kit 2024-06-23 20:03:41 +08:00