Commit Graph

240 Commits (dev)

Author SHA1 Message Date
xingyu4j 8fdbbfad22 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-08-19 17:41:16 +08:00
Elm1992 a441dcebae fix: meta.link invalid issue 2025-08-19 16:40:16 +08:00
vben e147a9d2fd chore: release 5.5.9 2025-08-16 22:16:02 +08:00
xueyang 9fc594434f
perf: 优化useVbenForm样式 (#6611)
* perf(style): 优化useVbenForm垂直布局 actions 样式

* perf(style): 优化useVbenForm actions 布局样式

- 操作按钮组显示位置
```
actionPosition?: 'center' | 'left' | 'right';
```
- 操作按钮组的样式
```
actionType?: 'block' | 'inline'
inline: 行类显示,block: 新一行单独显示
```

* perf: 优化useVbenForm actions 布局样式

删除 actionType
增加 actionLayout
- actionLayout?: 'inline' | 'newLine' | 'rowEnd';
- newLine: 在新行显示。rowEnd: 在行内显示,靠右对齐(默认)。inline: 使用grid默认样式
- 删除无用代码 queryFormStyle

* perf: 优化useVbenForm使用案例

* perf: 优化form组件样式

去掉padding,改为gap

* docs: update vben-form.md

* fix: 修复FormMessage位置

* perf: Avoid direct mutation of props object.

-  props.actionLayout = props.actionLayout || 'rowEnd';
-  props.actionPosition = props.actionPosition || 'right';
+  const actionLayout = props.actionLayout || 'rowEnd';
+  const actionPosition = props.actionPosition || 'right';

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix: 修复 wrapperClass 权重

* fix: 全局搜索结果不匹配 #6603

* fix: 避免FormMessage溢出

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-08-07 23:48:34 +08:00
xingyu4j 8b89a32813 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-07-29 15:21:32 +08:00
leo b93e22c45a
fix(@vben/layouts): respect base URL when opening route in new window (#6583)
Previously, the generated URL for opening routes in a new window did not include the router base,
which led to incorrect paths when the app was deployed under a subdirectory (e.g., /admin/).
This change ensures that the resolved path includes the configured base by using
router.resolve(path).href.
2025-07-29 13:46:05 +08:00
Jin Mao cb3f96683f fix: 修复双列布局模式下,路由为hideInMenu时,空白右列 2025-07-28 15:50:21 +08:00
vben 1575619d53 chore: release v5.5.8 2025-07-19 22:19:50 +08:00
xingyu4j 879de80857 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-07-19 12:24:22 +08:00
HamWong bb36cca315
fix: 锁定屏幕页面样式自适应 (#6480) 2025-07-15 09:08:08 +08:00
YunaiV d0a76e1394 feat:【ANTD】优化 help 样式 2025-07-05 18:16:41 +08:00
xingyu4j 77c16cd8e2 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-06-28 12:04:15 +08:00
Utopia b1fb623113
feat: 为 auth layout 添加 slot: logo, 提升组件的灵活性和可复用性 (#6442) 2025-06-27 19:23:24 +08:00
xingyu4j f5f28380db fix: help style 2025-06-22 16:22:44 +08:00
xingyu4j 24f2f5958d fix: tenant style 2025-06-22 16:22:16 +08:00
YunaiV 1c8c3c956c review:【ANTD】相关的代码 2025-06-22 11:14:58 +08:00
xingyu4j f57eff9ad2 perf: 优化租户选择 2025-06-18 14:05:43 +08:00
xingyu4j 50558e3bde perf: help 2025-06-18 13:56:16 +08:00
xingyu4j 5b4846e93d perf: tenant-dropdown 2025-06-18 11:58:47 +08:00
xingyu4j b6075a6611 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-06-04 13:49:25 +08:00
vben b9aef618fe chore: release 5.5.7 2025-06-04 05:33:06 +08:00
chewenye ea776aa710
types: 扩展user-dropdown组件的menus类型,支持iconify (#6283)
Co-authored-by: 车文烨 <chewy@china-lehua.com>
2025-06-03 06:07:06 +08:00
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