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
wyc001122
024c01d350
fix(@vben-core/shadcn-ui): fix disabled functionality not working in VbenTree component ( #6205 )
...
* fix(@vben-core/shadcn-ui): fix disabled functionality not working in VbenTree component
* fix(@vben-core/shadcn-ui): add cursor-not-allowed className when disabled and disable onfocus
---------
Co-authored-by: wyc001122 <wangyongchao@testor.com.cn>
Co-authored-by: Jin Mao <50581550+jinmao88@users.noreply.github.com>
2025-05-16 14:13:43 +08:00
afe1
2adb8acd80
fix: css style ( #6176 )
2025-05-16 09:40:40 +08:00
panda7
a23bc4cb5c
fix: the mobile terminal can wrap lines and expand slot attributes ( #6165 )
...
Co-authored-by: sqchen <chenshiqi@sshlx.com>
2025-05-16 09:40:05 +08:00
XiaoHetitu
cf17a45d8d
feat(tabs): 支持计算属性作为标签标题,解决 #6170 的问题 ( #6163 )
...
* feat(tabs): 支持动态函数作为标签标题
修改 `setTabTitle` 和 `tabsView` 逻辑,允许传入函数作为标签标题,以便动态生成标题内容
* feat(tabbar): 添加动态设置标签页标题功能
允许设置静态字符串或动态函数作为标签标题,支持根据状态或语言变化动态更新标题
* refactor(tabs): 移除冗余的newTabTitle2变量并优化标题设置逻辑
移除tabs组件中冗余的newTabTitle2变量,直接使用newTabTitle作为标题来源。同时,优化use-tabs和tabbar模块的标题设置逻辑,支持ComputedRef作为动态标题,提升代码简洁性和可维护性。
---------
Co-authored-by: yuanwj <ywj6792341@qq.com>
2025-05-16 09:37:50 +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
Netfan
e89cf400c0
fix: refresh command of tabbar issue, fixed : #6162 ( #6169 )
2025-05-12 23:34:08 +08:00
anyup
9e67929ee7
feat: support to refresh the tab page by route name ( #6153 )
...
Co-authored-by: anyup <anyupxing@163.com>
2025-05-10 22:33:31 +08:00
vben
cc6c9bf7a0
chore: release v5.5.6
2025-05-06 22:32:58 +08:00
Jin Mao
6b1aab9c67
fix: handle undefined children in generate-menus ( #6117 )
...
When children is undefined, use empty array as fallback to prevent potential runtime errors. This matches the behavior when hideChildrenInMenu is true.
2025-05-06 14:29:50 +08:00
LinaBell
8f4d3d418d
fix: when keepAlive is enabled, returning directly through browser buttons/gestures will not close pop ups ( #6113 )
2025-05-06 14:02:23 +08:00
ming4762
3b3f8e4e44
fix: fix IconPicker
props warning ( #6108 )
...
Invalid prop: type check failed for prop "onUpdate:value". Expected Function, got Array
2025-05-06 09:30:37 +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
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
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
pangyajun123
b985ff0584
fix: vxe-table theme token follow primary color ( #6007 )
2025-04-21 19:15:05 +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
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
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