ruoyi-plus-vben5/packages/@core/ui-kit/tabs-ui/src
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
..
components perf: perf the control logic of Tab (#6220) 2025-05-18 10:33:02 +08:00
index.ts refactor(@vben-core/tabs-ui): refactor tabs chrome component 2024-07-14 15:18:41 +08:00
tabs-view.vue feat: tabbar support mouse wheel vertical (#5129) 2024-12-13 14:45:06 +08:00
types.ts feat: allow close tab when mouse middle button click (#5347) 2025-01-10 20:52:31 +08:00
use-tabs-drag.ts perf: format code with better style (#5283) 2025-01-01 11:39:49 +08:00
use-tabs-view-scroll.ts chore: update deps 2025-01-10 09:22:32 +08:00