Commit Graph

218 Commits (6edd0826a64d727a5315f97e7f590ebfa082a8de)

Author SHA1 Message Date
xingyu4j be1889a0e0 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-05-26 10:50:54 +08:00
wyc001122 97894a940e
feat: optimize logo display (#6267)
* feat(VbenAvatar): add fit property to VbenAvatar component

* feat(VbenLogo): add fit property to VbenLogo component

* feat(VbenLogo): add logo fit preference configuration

- Add preferences.logo.fit setting for logo display control
- Include corresponding documentation for the new preference

* feat(preferences): add default value for logo.fit preference

- Set default configuration for logo fit behavior
- Ensures consistent logo display across applications

* test(preferences): update configuration snapshots

---------

Co-authored-by: wyc001122 <wangyongchao@testor.com.cn>
2025-05-23 15:24:01 +08:00
yingzi2019 48d70182b4
feat: improve check updates (#6257)
Co-authored-by: monkey <maotao@tutamail.com>
2025-05-23 15:23:06 +08:00
xingyu4j c88bd198d4 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-05-20 10:35:19 +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
wyc001122 34c4ecb047
fix: in mixed layout mode, the sidebar does not display when the first child node is an external link (#6219)
Co-authored-by: wyc001122 <wangyongchao@testor.com.cn>
2025-05-18 10:34:41 +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
afe1 2adb8acd80
fix: css style (#6176) 2025-05-16 09:40:40 +08:00
chewenye b46ebe756e
types: 导出authentication组件的type,自定义toolbarList时类型使用ToolbarType (#6158)
Co-authored-by: 车文烨 <chewy@china-lehua.com>
2025-05-16 09:36:49 +08:00
xingyu4j 99c848a39d Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-05-14 11:54:29 +08:00
Netfan e89cf400c0
fix: refresh command of tabbar issue, fixed: #6162 (#6169) 2025-05-12 23:34:08 +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 045bc4e5ee
feat: support smooth auto-scroll to active menu item (#6102) 2025-05-03 18:05:26 +08:00
Vben 17a18fc9ba
chore: close eslint object sorting (#6101) 2025-05-03 16:06:36 +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 0517a7014f
fix: add missing translation for preferences drawer (#6094) 2025-05-01 20:08:44 +08:00
jason ab60f8eb3a Merge remote-tracking branch 'yudao/dev' into dev 2025-04-29 15:45:48 +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
Vben 76de450c71
chore: update dependency version for improved stability and compatibility (#6023)
* chore: update dependency version for improved stability and compatibility

* fix: optimize clearPoints function in useCaptchaPoints hook to improve performance

* fix: make several props optional in various components for better flexibility
2025-04-27 22:06:49 +08:00
vben 7c7051a11e chore: release v5.5.5 2025-04-27 21:45:10 +08:00
Netfan aa27a2f7a1
feat: encrypt the privacy data when it is persisted (#6056)
* 对私密数据持久化时执行加密
* 将锁屏密码合并到accessStore中进行加密
2025-04-27 20:59:10 +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
YunaiV 7d00744a82 feat:完善我的站内信 100%(右上角) 2025-04-21 19:04:03 +08:00
wyc001122 b148b8ec92
fix: fix geader menu activation path (#5997)
Co-authored-by: 王泳超 <wangyongchao@testor.com.cn>
2025-04-19 14:35:33 +08:00
Netfan 9ef1e51296 fix: builtin color change throttled in preference drawer (#5924)
修复偏好设置中的自定义主题色拖动选择颜色时页面会明显卡顿的问题
2025-04-14 19:23:07 +08:00
ming4762 16792d8305 perf: 优化关闭页面切换动画的tab切换性能 (#5883) 2025-04-14 19:23:06 +08:00
Netfan 5cc93d2efe feat: support logo text slot (#5872)
* 基础布局中的LOGO的文字区域允许通过插槽logo-text定制
2025-04-14 19:22:31 +08:00
wyc001122 3ba209a972 fix: 布局为双列菜单或者水平模式下, 一级菜单高亮问题 (#5870)
Co-authored-by: 王泳超 <wangyongchao@testor.com.cn>
2025-04-14 19:22:31 +08:00
Netfan 36bf6fc149
fix: builtin color change throttled in preference drawer (#5924)
修复偏好设置中的自定义主题色拖动选择颜色时页面会明显卡顿的问题
2025-04-12 01:44:08 +08:00
ming4762 c9014d0338
perf: 优化关闭页面切换动画的tab切换性能 (#5883) 2025-04-08 20:27:03 +08:00
Netfan d216fdca44
feat: support logo text slot (#5872)
* 基础布局中的LOGO的文字区域允许通过插槽logo-text定制
2025-04-05 13:07:52 +08:00
wyc001122 384c5d7dbb
fix: 布局为双列菜单或者水平模式下, 一级菜单高亮问题 (#5870)
Co-authored-by: 王泳超 <wangyongchao@testor.com.cn>
2025-04-05 11:04:59 +08:00
Jin Mao a61d9003dd feat: sidebar button config (#5818)
* feat: 新增 PreferenceCheckboxItem 组件

* feat(preferences): 添加侧边栏按钮配置功能

* feat: 新增按钮点击事件触发功能

* feat(SidebarPreferences): 新增侧边栏折叠按钮与固定按钮配置

* feat(ui): 新增侧边栏固定按钮及配置选项

* fix(test): 修正侧边栏配置项缺失问题
2025-03-31 11:09:36 +08:00
Jin Mao 3f4e878e69 feat(tabbar): 添加右键菜单过滤功能 (#5820) 2025-03-31 11:09:36 +08:00
Jin Mao 18722ce434
feat: sidebar button config (#5818)
* feat: 新增 PreferenceCheckboxItem 组件

* feat(preferences): 添加侧边栏按钮配置功能

* feat: 新增按钮点击事件触发功能

* feat(SidebarPreferences): 新增侧边栏折叠按钮与固定按钮配置

* feat(ui): 新增侧边栏固定按钮及配置选项

* fix(test): 修正侧边栏配置项缺失问题
2025-03-31 10:17:42 +08:00
Jin Mao df6341f0b8
feat(tabbar): 添加右键菜单过滤功能 (#5820) 2025-03-30 16:23:24 +08:00
Jin Mao 2162ddb34b feat(ui): logo icon support click events (#5725)
* feat(ui): 扩展auth页面添加点击 Logo 的事件处理

在 `authentication.vue` 中新增 `clickLogo` 属性,允许在点击 Logo 时执行自定义操作。在 `auth.vue` 中实现了一个示例的点击事件处理函数,用于测试该功能。

* feat(layout): 添加点击 logo 的事件处理函数

在 BasicLayout 组件中添加了 clickLogo 事件处理函数,并通过 emit 方法触发 clickLogo 事件。同时,在 basic.vue 中实现了 handleClickLogo 函数,用于处理 logo 点击事件。

* fix(ui): 移除logo点击事件的控制台日志
2025-03-26 22:51:07 +08:00
vben 7a0354f4a8 chore: release 5.5.4 2025-03-26 22:51:07 +08:00
Jin Mao 66c1d390b9
feat(ui): logo icon support click events (#5725)
* feat(ui): 扩展auth页面添加点击 Logo 的事件处理

在 `authentication.vue` 中新增 `clickLogo` 属性,允许在点击 Logo 时执行自定义操作。在 `auth.vue` 中实现了一个示例的点击事件处理函数,用于测试该功能。

* feat(layout): 添加点击 logo 的事件处理函数

在 BasicLayout 组件中添加了 clickLogo 事件处理函数,并通过 emit 方法触发 clickLogo 事件。同时,在 basic.vue 中实现了 handleClickLogo 函数,用于处理 logo 点击事件。

* fix(ui): 移除logo点击事件的控制台日志
2025-03-23 10:02:22 +08:00
vben b92ac5c36d chore: release 5.5.4 2025-03-18 21:43:27 +08:00
Netfan 5ea6b4a8d8 fix: logo style in login page is affected by the globally-imported antd styles
* 修复登录页左上角LOGO部分的文字在全局导入antd样式的时候位置不正确的问题
2025-02-28 22:39:42 +08:00
Netfan 5262233312
feat: tabbar support max count limit (#5490)
* 标签栏支持限制打开的最大数量
2025-02-06 19:33:10 +08:00
vben 195ceec9b4 chore: release 5.5.3 2025-01-21 22:07:55 +08:00
Netfan b8bffd884c
feat: allow close tab when mouse middle button click (#5347)
* 偏好设置增加鼠标中键关闭标签页的设置
2025-01-10 20:52:31 +08:00
Netfan 624beb6fa0
fix: locale switching logic correction (#5344)
* 修复语言切换后的数据更新逻辑

* 表单默认按钮的content属性可提供computed类型的值
2025-01-10 14:32:21 +08:00
Netfan d34838bdd8
fix: primaryColor calculation (#5337) 2025-01-10 01:51:38 +08:00
Vben 081d2aed23
perf: format code with better style (#5283) 2025-01-01 11:39:49 +08:00