dap
b0763d6429
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-05-04 17:23:32 +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
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
Netfan
f1af9f8f6e
fix: add triggerClass binding to PopoverTrigger and update icon-picker styles ( #6095 )
...
* Popover支持设置trigger的样式
* 修正icon-picker的input值更新
2025-05-01 21:40:45 +08:00
Netfan
0517a7014f
fix: add missing translation for preferences drawer ( #6094 )
2025-05-01 20:08:44 +08:00
Netfan
3e6d608a2f
fix: destroyOnClose incorrect default value, fixed #6092 ( #6093 )
2025-05-01 14:09:37 +08:00
ming4762
5de954baa4
fix: fix LoginExpiredModal
in some cases, message
may be obscured ( #6086 )
2025-05-01 10:40:42 +08:00
Netfan
add1e61b6f
fix: show validation message as tooltip in compact form ( #6087 )
...
* 紧凑模式表单的校验消息将显示为一个tooltip
2025-04-30 23:41:44 +08:00
dap
a10a981fab
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-04-30 11:13:25 +08:00
Jin Mao
20c15f352f
perf: page componet supports custom height offset for flexible content height … ( #6081 )
...
* perf: Page supports custom height offset for flexible content height control.
允许通过 height 属性调整页面内容高度计算。修改了 Page 组件以支持自定义高度偏移量,用于更灵活的内容高度控制。
* chore: typo
* perf(page): replace height with heightOffset for flexible content sizing
The `height` prop was replaced with `heightOffset` to better describe its purpose when used with `autoContentHeight`. The new prop allows custom offset values (in pixels) to adjust content area sizing, with clearer documentation.
2025-04-29 18:15:12 +08:00
Netfan
8aa7dabeff
fix: calculation for collapsing search form is incorrect while initially hidden ( #6068 )
...
* 修复当默认隐藏搜索表单时,折叠位置的计算不正确的问题
2025-04-28 23:20:33 +08:00
Vben
dd833ca56b
chore: update dependencies and documentation, optimize build toolchain ( #6060 )
...
* chore: update packageManager version to pnpm@10.9.0 for compatibility improvements
* chore: Update dependent versions and configurations to improve compatibility and stability
- Update Node version to 22.1.0
- Updated pnpm version to 10.10.0
- Fixed syntax error in prettier command in lintstagedrc
- Update dependent versions in pnpm-lock.yaml to ensure consistency
- Update format and content in README documents to improve readability
* fix: lint error
2025-04-28 23:08:05 +08:00
vem
681c1dc267
fix: Update existing route index to prevent 404 on user switch ( #6003 )
...
Co-authored-by: tars-macmini <vem@qq.com>
2025-04-28 18:19:47 +08:00
Netfan
4545422ee0
fix: lock state will not change overflow style in drawer and modal ( #6067 )
...
* Modal和Drawer的锁定状态不再修改overflow样式
2025-04-28 17:02:54 +08:00
dap
5f26f5662e
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-04-28 13:19:57 +08:00
Gahotx
ca94ca906f
fix: add rounded corners to project and quick nav items ( #5296 )
2025-04-27 22:50:42 +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
ming4762
0cc1cb5a7b
perf: improve destroyOnClose for VbenDrawer&VbenModal ( #6051 )
...
* fix: fix that the default value of modal destroyOnClose does not take effect
* perf: improve destroyOnClose for VbenDrawer
2025-04-27 11:26:50 +08:00
Netfan
0a9fc4e02d
fix: title of search button in vxeTable toolbar ( #6046 )
...
* 修改vxeTable工具栏里的搜索按钮的提示文案
2025-04-26 01:08:41 +08:00
Netfan
be840460d8
feat: vbenSelect support prop allowClear
( #6043 )
2025-04-25 23:37:03 +08:00
panda7
5ffd7db8e0
fix: the initial value echo for the check-button-group ( #6029 )
...
Co-authored-by: sqchen <9110848@qq.com>
2025-04-25 08:35:03 +08:00
Netfan
14377705e7
fix: alert confirm state in beforeClose callback ( #6019 )
2025-04-23 12:20:52 +08:00
dap
f54fab0bae
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-04-22 17:55:44 +08:00
pangyajun123
b985ff0584
fix: vxe-table theme token follow primary color ( #6007 )
2025-04-21 19:15:05 +08:00
dap
eff2f2a0b1
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-04-20 09:14:37 +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
79de6bcbf7
fix: alert send wrong confirm state to beforeClose ( #5991 )
...
* 修复alert在按下Esc或者点击遮罩关闭时,可能发送错误的isConfirm状态
2025-04-17 22:23:05 +08:00
Netfan
14bd6dd25d
fix: destroyOnClose works within connectedComponent ( #5989 )
...
* 修复destroyOnClose没能销毁connectedComponent自身的问题
2025-04-17 20:25:49 +08:00
dap
2e2ffcd59e
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-04-16 21:33:11 +08:00
dap
0446adf778
refactor: 菜单图标更新
2025-04-16 17:38:11 +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
ming4762
3318d76bab
perf: improve destroyOnClose
for VbenModal ( #5964 )
2025-04-16 11:28:36 +08:00
LinaBell
8f3881eabf
perf: beforeClose
of drawer support promise ( #5932 )
...
* perf: the beforeClose function of drawer is consistent with that of modal
* refactor: drawer test update
2025-04-16 11:27:13 +08:00
dap
f096dfc6e6
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-04-16 10:09:48 +08:00
wyc001122
333998b518
fix: determine if scrollbar has been totally scrolled ( #5934 )
...
* 修复在系统屏幕缩放比例不为100%的情况下,滚动组件对是否已滚动到边界的判断可能不正确的问题
2025-04-15 20:51:38 +08:00
ming4762
3fb4fba1cb
fix: modal closing animation ( #5960 )
2025-04-15 18:49:57 +08:00
ming4762
c7e6210c8d
feat: modal
&drawer
support center-footer
slot ( #5956 )
2025-04-15 16:04:44 +08:00
lztb
d864085c13
feat: vben-form添加arrayToStringFields属性 ( #5957 )
...
* feat: vben-form添加arrayToStringFields属性
* feat: 修改handleArrayToStringFields和handleStringToArrayFields中嵌套数组格式的处理不一致
---------
Co-authored-by: 米山 <17726957223@189.cn>
2025-04-15 16:03:20 +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
f0e9e55af2
feat: alert support customize footer
( #5940 )
...
* Alert组件支持自定义footer
2025-04-14 11:48:21 +08:00
Netfan
ff88274554
fix: long navigation menu can be scrolled ( #5939 )
...
* 修复超长的导航菜单无法纵向滚动的问题
2025-04-14 11:18:33 +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
dap
e085083e42
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-04-12 22:28:23 +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
4a2c7b313f
fix: alert animation ( #5927 )
2025-04-12 10:37:47 +08:00
dap
7e4bdf7bd6
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-04-12 09:56:51 +08:00
Netfan
36bf6fc149
fix: builtin color change throttled in preference drawer ( #5924 )
...
修复偏好设置中的自定义主题色拖动选择颜色时页面会明显卡顿的问题
2025-04-12 01:44:08 +08:00
Netfan
f46ec30995
fix: theme mode follow the system only auto
( #5923 )
...
* 修复主题在未设置为auto时,仍然会跟随系统主题变化的问题。
2025-04-12 01:16:57 +08:00
Netfan
9bd5a190c2
fix: alert action button focus, fixed #5921 ( #5922 )
...
* 修复Alert组件的按钮焦点切换问题
2025-04-12 00:59:56 +08:00
zhang
86da3cedc2
chore: 导出框架自带的组件,方便独立页面使用 ( #5876 )
2025-04-09 16:16:56 +08:00
dap
3e7a2336b0
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-04-09 09:34:17 +08:00
Netfan
329a176a5c
perf: optimize bootstrap modules to speed up first-screen loading ( #5899 )
...
优化首屏加载速度
2025-04-09 01:05:20 +08:00
Netfan
9379093a4f
feat: customizable table separator ( #5898 )
...
* 表格的分隔条支持定制背景色或完全移除
2025-04-08 20:28:50 +08:00
ming4762
c9014d0338
perf: 优化关闭页面切换动画的tab切换性能 ( #5883 )
2025-04-08 20:27:03 +08:00
Netfan
a8c5df38e9
fix: possible circular reference issue during build ( #5894 )
...
* 修复构建期间出现的循环引用警告
2025-04-08 14:50:05 +08:00
dap
34e5812de9
update: vxe active color
2025-04-07 19:37:11 +08:00
dap
07587c0faf
update: 用户管理 表单更新(非最终方案)
2025-04-07 19:02:28 +08:00
dap
5e1de6fc79
fix: 表格固定高度 getVxePopupContainer
2025-04-07 18:41:23 +08:00
dap
1286b52135
fix: getVxePopupContainer
2025-04-07 17:21:49 +08:00
dap
4f2354b53a
update: 兼容以前代码 先返回body 这样会造成无法跟随滚动
2025-04-07 11:10:10 +08:00
dap
8f9006c96d
fix: vxe 右上角toolbar按钮色/翻页主题色保持一致
2025-04-07 10:58:51 +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
dap
ae5d45763f
refactor: getVxePopupContainer与新版Vxe不兼容 先返回body(会导致滚动不跟随)后续版本再优化
2025-04-06 17:41:00 +08:00
dap
3f037f146b
refactor: getVxePopupContainer
2025-04-06 17:24:18 +08:00
dap
06dd17eac3
update: getVxePopupContainer选择器更新(适配新版)
2025-04-05 23:07:45 +08:00
dap
eae24d8d83
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-04-05 14:29:10 +08:00
dap
b4d038e22f
update: 还原loading逻辑
2025-04-05 13:07:57 +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
dap
1a16c520a1
refactor: DictEnum使用const替代enum
2025-04-04 21:11:33 +08:00
dap
2ca39dfdbb
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-04-04 19:42:43 +08:00
Netfan
b0ad08dbbc
feat: use the not-found component instead of the invalid route component in the backend mode ( #5871 )
...
* 后端菜单模式下,使用not-found组件代替无效的路由组件
2025-04-04 15:21:09 +08:00
Rascal-Coder
3600603016
fix: vxeGrid height fixed #5861 ( #5862 )
2025-04-04 13:16:31 +08:00
dap
ec82510f49
docs: 更新日志
2025-04-03 15:43:58 +08:00
dap
63e13069ea
Merge
2025-04-03 14:02:12 +08:00
dap
56e7e840b3
feat: 验证码loading
2025-04-03 13:57:32 +08:00
Netfan
7933da8f66
chore: update deps ( #5854 )
2025-04-02 18:07:06 +08:00
Netfan
ecf518bb02
fix: alert beforeClose
callback arguments fixed ( #5845 )
2025-04-01 22:55:29 +08:00
dap
98e3a4a34c
refactor: modalLoading/drawerLoading改为调用内部的lock/unlock方法
2025-04-01 20:36:49 +08:00
dap
362bc84cfb
refactor: 管理员租户切换不再返回首页 直接刷新当前页(除特殊页面外会回到首页)
2025-04-01 19:59:28 +08:00
dap
44ad2c5f8d
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-04-01 17:16:13 +08:00
ming4762
1d9f1be004
fix: 解决AccessModeType:backend登录过期,重新登录不会重新生成路由的问题,重现步骤分析: ( #5830 )
...
1、长时间未登录登录过期,再次打开页面构开始生成动态路由
2、fetchMenuListAsync后台返回401登录过期:doReAuthenticate函数跳转到登录页面
3、异常被拦截,return []
4、gurad.ts accessStore.setIsAccessChecked(true); 被错误的标识为已生成路由
5、重新登录后,accessStore.isAccessChecked=true未能正确的重新生成路由
2025-04-01 15:50:45 +08:00
Netfan
44138f578f
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-01 15:10:18 +08:00
dap
0a19ec3122
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-03-31 15:20:14 +08:00
Netfan
06ccad9db0
fix: vbenTree modelValue synchronization ( #5825 )
2025-03-31 10:18:35 +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
Netfan
a0feeb1966
fix: watermark settings in the preferences modified accidentally ( #5823 )
2025-03-31 09:06:02 +08:00
Jin Mao
df6341f0b8
feat(tabbar): 添加右键菜单过滤功能 ( #5820 )
2025-03-30 16:23:24 +08:00
dap
467d337515
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-03-29 22:53:47 +08:00
anyup
dbc0b7e4a9
fix: route root.children duplicate problem ( #5755 )
...
Co-authored-by: anyup <anyupxing@163.com>
2025-03-29 22:38:30 +08:00
zhang
aa2907323f
style: 更正引用格式 ( #5784 )
2025-03-29 22:29:16 +08:00
Netfan
96d2bc52e9
feat: pre-set serialization methods for request parameters ( #5814 )
...
添加快捷设置请求参数序列化方法的配置
2025-03-29 19:21:21 +08:00
dap
8c1cd617ad
refactor: 文件上传/图片上传重构(破坏性更新 不兼容之前的api)
2025-03-28 17:24:46 +08:00
Netfan
c2b5f6497d
fix: vben tree component warning ( #5809 )
2025-03-28 16:01:30 +08:00