Commit Graph

256 Commits (deefea6a184d3473732250fdb1b102b616475d34)

Author SHA1 Message Date
xingyu4j c88bd198d4 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-05-20 10:35:19 +08:00
wyc001122 8ac97688da
fix(preferences): 更新内容内边距默认值 (#6233)
Co-authored-by: wyc001122 <wangyongchao@testor.com.cn>
2025-05-20 09:50:23 +08:00
李轻舟 2efacb3e5b
docs: Update build.md (#6228) 2025-05-19 16:30:39 +08:00
wyc001122 dae46abb71
feat: additional-settings (#6225)
* feat(preferences): 补充VbenAdminLayout传入属性(来自偏好设置)

* docs(@vben/docs):update settings doc

---------

Co-authored-by: wyc001122 <wangyongchao@testor.com.cn>
2025-05-19 16:29:15 +08:00
xingyu4j 2f5758d4dd Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-05-19 10:46:36 +08:00
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
xingyu4j 85a976cf40 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-05-07 14:08:58 +08:00
wyc001122 84ef207d9c
docs(@vben/docs): update settings doc (#6128)
Co-authored-by: wyc001122 <wangyongchao@testor.com.cn>
2025-05-07 12:04:48 +08:00
xingyu4j 6a1317908a Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-05-06 23:51:36 +08:00
vben cc6c9bf7a0 chore: release v5.5.6 2025-05-06 22:32:58 +08:00
xingyu4j 81a54dfbd0 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-05-06 10:02:03 +08:00
Vben 5689ac60ff
feat(project): migrate from husky and lint-staged to lefthook (#6104) 2025-05-03 19:43:12 +08:00
aonoa 41152d1722
refactor: modify the default homepage path loaded from the preference… (#6099)
* refactor: modify the default homepage path loaded from the preferences.ts

Signed-off-by: aonoa <1991849113@qq.com>

* refactor: modify the default homepage path loaded from the preferences.ts

Signed-off-by: aonoa <1991849113@qq.com>

---------

Signed-off-by: aonoa <1991849113@qq.com>
2025-05-03 16:03:08 +08:00
xingyu4j 4f62d4b8ed Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-05-02 14:15:19 +08:00
Netfan 3e6d608a2f
fix: destroyOnClose incorrect default value, fixed #6092 (#6093) 2025-05-01 14:09:37 +08:00
xingyu4j 50d028f6b8 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-04-28 10:06:29 +08:00
Trivikram Kamat dd2b1ed580
fix: install corepack from npm (#5905)
* fix: install corepack from npm

* docs: install corepack from npm
2025-04-27 22:03:35 +08:00
vben 7c7051a11e chore: release v5.5.5 2025-04-27 21:45:10 +08:00
Jin Mao 9ee6d06d50
docs: add deepWiki doc link (#6057) 2025-04-27 20:54:07 +08:00
xingyu4j 4d1bff9d4a Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-04-26 14:38:07 +08:00
Netfan cb45987fe2
docs: update example (#6036)
* 跟进后端菜单逻辑的修改,现已无需传递basicLayout布局
2025-04-25 11:44:47 +08:00
xingyu4j acd2787f29 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into v-next-dev 2025-04-22 15:39:53 +08:00
Netfan 14bd6dd25d
fix: destroyOnClose works within connectedComponent (#5989)
* 修复destroyOnClose没能销毁connectedComponent自身的问题
2025-04-17 20:25:49 +08:00
PIPEDREA_WZJ 7f269e0d69
Update tailwindcss.md (#5602)
tailwindcss最新的版本已经是v4.x,vben中使用的是3.x的tailwindcss。在未进行兼容前,会出现运行失败的问题
2025-04-17 14:01:39 +08:00
Netfan f7a4d13a4c
fix: fixed arguments of callbacks in `formApi` (#5970)
* 修复 `handleValuesChange` 传递的参数不是处理后的表单值的问题

* 修复 `handleReset` 未能传递正确参数的问题
2025-04-16 14:11:04 +08:00
Netfan 0936861da1
feat: pass `fieldsChanged` into the `handleValuesChange` callback function (#5968)
* fieldsChanged(已被改变值的字段名)将传入handleValuesChange回调函数
2025-04-16 11:29:01 +08:00
Netfan d18f56177c
docs: update alert and apiComponent docs (#5961) 2025-04-15 20:52:23 +08:00
ming4762 c7e6210c8d
feat: `modal`&`drawer` support `center-footer` slot (#5956) 2025-04-15 16:04:44 +08:00
Netfan fcdc1a1602
feat: add more expose methods for `apiComponent` (#5958)
* 为ApiComponent组件添加getOptions和getValue导出方法。
2025-04-15 15:32:30 +08:00
Netfan bf7496f0d5
feat: add `useAlertContext` for Alert component (#5947)
* 新增Alert的子组件中获取弹窗上下文的能力
2025-04-15 00:00:05 +08:00
Netfan 3fc27ff171 feat: alert support customize `footer` (#5940)
* Alert组件支持自定义footer
2025-04-14 19:23:07 +08:00
ming4762 9f51ddce97 perf: improve `destroyOnClose` for `VbenModal` (#5935)
* perf: 优化Vben Modal destroyOnClose,解决destroyOnClose=false,Modal依旧会被销毁的问题

影响范围(重要):destroyOnClose默认为true,这会导致所有的modal都会默认渲染到body
radix-vue Dialog组件默认会销毁挂载的组件,所以即使destroyOnClose=false,Modal依旧会被销毁的问题
对于一些大表单重复渲染导致卡顿,ApiComponent也会频繁的加载数据

* fix: modal closing animation

---------

Co-authored-by: Netfan <netfan@foxmail.com>
2025-04-14 19:23:07 +08:00
ming4762 697f4119f3 perf: improve `autoSelect` of `ApiComponent` (#5936)
* fix: 修复autoSelect不生效的问题,props.valueField已经被omit了

* feat: ApiComponent autoSelect支持使用函数,可以满足灵活性要求更高的场景
2025-04-14 19:23:07 +08:00
Netfan dea404b433 feat: api-component support autoSelect prop (#5931)
* feat: api-component support autoSelect prop

* docs: add version requirement
2025-04-14 19:23:07 +08:00
Netfan 5010622736 docs: docs modal z-index fixed, update alert docs (#5930) 2025-04-14 19:23:07 +08:00
Netfan 7e490c3070 feat: customizable table separator (#5898)
* 表格的分隔条支持定制背景色或完全移除
2025-04-14 19:23:07 +08:00
Netfan a1e761b9f8 fix: improve prompt component (#5879)
* fix: prompt component render fixed

* fix: alert buttonAlign default value
2025-04-14 19:22:31 +08:00
Netfan f0e9e55af2
feat: alert support customize `footer` (#5940)
* Alert组件支持自定义footer
2025-04-14 11:48:21 +08:00
ming4762 afce9dc5c0
perf: improve `destroyOnClose` for `VbenModal` (#5935)
* perf: 优化Vben Modal destroyOnClose,解决destroyOnClose=false,Modal依旧会被销毁的问题

影响范围(重要):destroyOnClose默认为true,这会导致所有的modal都会默认渲染到body
radix-vue Dialog组件默认会销毁挂载的组件,所以即使destroyOnClose=false,Modal依旧会被销毁的问题
对于一些大表单重复渲染导致卡顿,ApiComponent也会频繁的加载数据

* fix: modal closing animation

---------

Co-authored-by: Netfan <netfan@foxmail.com>
2025-04-13 23:02:07 +08:00
ming4762 b5700bd0b1
perf: improve `autoSelect` of `ApiComponent` (#5936)
* fix: 修复autoSelect不生效的问题,props.valueField已经被omit了

* feat: ApiComponent autoSelect支持使用函数,可以满足灵活性要求更高的场景
2025-04-13 20:03:18 +08:00
Netfan a8c4786311
feat: api-component support autoSelect prop (#5931)
* feat: api-component support autoSelect prop

* docs: add version requirement
2025-04-12 14:02:35 +08:00
Netfan 2971ccc0b7
docs: docs modal z-index fixed, update alert docs (#5930) 2025-04-12 13:41:40 +08:00
Netfan 9379093a4f
feat: customizable table separator (#5898)
* 表格的分隔条支持定制背景色或完全移除
2025-04-08 20:28:50 +08:00
Netfan 71e8d12b70
fix: improve prompt component (#5879)
* fix: prompt component render fixed

* fix: alert buttonAlign default value
2025-04-07 01:21:30 +08:00
superdl1996 49ddc64da9 docs: typo (#5855) 2025-04-03 23:06:05 +08:00
Netfan 5390070880 docs: fix alert demo in docs 2025-04-03 23:06:05 +08:00
Netfan 8b8bd11963 fix: alert `beforeClose` callback arguments fixed (#5845) 2025-04-03 23:04:54 +08:00
Netfan 82547b3c44 feat: add preset alert, confirm, prompt components that can be simple called (#5843)
* feat: add preset alert, confirm, prompt components that can be simple called

* fix: type define
2025-04-03 23:04:54 +08:00
Joeshu c4d46638d3 docs: add third-party libraries to check update methods (#5819) 2025-04-03 23:04:54 +08:00
Arthur Darkstone 2bcbe36f8d docs: add explanation and related script configuration to distinguish build environment (#5826)
* docs: add explanation and related script configuration to distinguish build environment

* docs: fix spell error
2025-04-03 23:04:54 +08:00