Commit Graph

786 Commits (f4fe36e9d04f7e51f22d7fe9fcefbcc875cab4fc)

Author SHA1 Message Date
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
YunaiV f27774c1fc feat: 登录界面,添加 DocLink 2025-04-15 13:20:26 +08:00
Netfan bf7496f0d5
feat: add `useAlertContext` for Alert component (#5947)
* 新增Alert的子组件中获取弹窗上下文的能力
2025-04-15 00:00:05 +08:00
YunaiV 431c93c42d review:保持和 vben 一致(04-14) 2025-04-14 20:50:21 +08:00
YunaiV 111c0eb93f feat: add verification comp【31315a7f】 2025-04-14 19:26:06 +08:00
Netfan 3fc27ff171 feat: alert support customize `footer` (#5940)
* Alert组件支持自定义footer
2025-04-14 19:23:07 +08:00
Netfan b3288a4594 fix: long navigation menu can be scrolled (#5939)
* 修复超长的导航菜单无法纵向滚动的问题
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 8a52eb21cd fix: alert animation (#5927) 2025-04-14 19:23:07 +08:00
Netfan 9ef1e51296 fix: builtin color change throttled in preference drawer (#5924)
修复偏好设置中的自定义主题色拖动选择颜色时页面会明显卡顿的问题
2025-04-14 19:23:07 +08:00
Netfan 9ba917c356 fix: theme mode follow the system only `auto` (#5923)
* 修复主题在未设置为auto时,仍然会跟随系统主题变化的问题。
2025-04-14 19:23:07 +08:00
Netfan eedbd23dce fix: alert action button focus, fixed #5921 (#5922)
* 修复Alert组件的按钮焦点切换问题
2025-04-14 19:23:07 +08:00
zhang ec649cda2d chore: 导出框架自带的组件,方便独立页面使用 (#5876) 2025-04-14 19:23:07 +08:00
Netfan 93a44960d3 perf: optimize bootstrap modules to speed up first-screen loading (#5899)
优化首屏加载速度
2025-04-14 19:23:07 +08:00
Netfan 7e490c3070 feat: customizable table separator (#5898)
* 表格的分隔条支持定制背景色或完全移除
2025-04-14 19:23:07 +08:00
ming4762 16792d8305 perf: 优化关闭页面切换动画的tab切换性能 (#5883) 2025-04-14 19:23:06 +08:00
Netfan 621650435b fix: possible circular reference issue during build (#5894)
* 修复构建期间出现的循环引用警告
2025-04-14 19:22:31 +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 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 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
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
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
芋道源码 17734ab040
!70 feat: 代码生成
Merge pull request !70 from puhui999/v-next
2025-04-10 14:24:44 +00:00
YunaiV 9fc51f085d feat:增加 social-login.vue 社交登录 2025-04-10 22:23:41 +08:00
puhui999 2207db02f5 feat: 代码生成 2025-04-10 11:34:20 +08:00
zhang 86da3cedc2
chore: 导出框架自带的组件,方便独立页面使用 (#5876) 2025-04-09 16:16:56 +08:00
Netfan 329a176a5c
perf: optimize bootstrap modules to speed up first-screen loading (#5899)
优化首屏加载速度
2025-04-09 01:05:20 +08:00
YunaiV 2c105a21aa feat:增加 forget-password.vue 重置密码功能 2025-04-08 22:04:56 +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
YunaiV 446cb6cbbf feat:增加 register 账号注册功能 2025-04-08 13:10:36 +08:00
YunaiV 144a2f1dc9 feat:增加 redis 监控 2025-04-07 22:00:14 +08:00
YunaiV 49632697a0 feat:增加 job 定时任务 2025-04-07 18:42:24 +08:00
xingyu4j f73436e94f fix: captcha types 2025-04-07 11:23:32 +08:00
YunaiV 6cb908e688 fix: AppRouteRecordRaw types(from xingyu) 2025-04-07 11:06:10 +08:00
YunaiV b4d1c678fd feat:增加 fileConfig 文件配置(全部)、file 文件(部分) 2025-04-07 10:22:27 +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
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
Netfan fe6e19d763 feat: use the not-found component instead of the invalid route component in the backend mode (#5871)
* 后端菜单模式下,使用not-found组件代替无效的路由组件
2025-04-05 09:55:23 +08:00
Rascal-Coder 3086b83834 fix: vxeGrid height fixed #5861 (#5862) 2025-04-05 09:55:23 +08:00
YunaiV 49f13bf301 feat:增加 user 用户的导入功能 2025-04-05 08:21:32 +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
puhui999 663d3d0e9d feat: 站内信我的消息 2025-04-04 14:01:14 +08:00
Rascal-Coder 3600603016
fix: vxeGrid height fixed #5861 (#5862) 2025-04-04 13:16:31 +08:00
Netfan e0cfe4a4b1 chore: update deps (#5854) 2025-04-03 23:06:02 +08:00
Netfan 8b8bd11963 fix: alert `beforeClose` callback arguments fixed (#5845) 2025-04-03 23:04:54 +08:00
ming4762 3b6acb626c fix: 解决AccessModeType:backend登录过期,重新登录不会重新生成路由的问题,重现步骤分析: (#5830)
1、长时间未登录登录过期,再次打开页面构开始生成动态路由
2、fetchMenuListAsync后台返回401登录过期:doReAuthenticate函数跳转到登录页面
3、异常被拦截,return []
4、gurad.ts accessStore.setIsAccessChecked(true); 被错误的标识为已生成路由
5、重新登录后,accessStore.isAccessChecked=true未能正确的重新生成路由
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
puhui999 6ecfcb07bd Revert "feat: 本地开发默认 website"
This reverts commit 198cd6912c.
2025-04-03 21:03:54 +08:00
puhui999 7f37ca4a6b fix: 短信模板、渠道 api 格式修复 2025-04-03 17:15:07 +08:00
puhui999 198cd6912c feat: 本地开发默认 website 2025-04-03 12:52:30 +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
YunaiV 5ab0eb163a bugfix: 构建 menu 时,解决 name 重复问题(否则,会导致跳转不对) 2025-04-01 21:44:52 +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
Netfan 0f5937204f fix: vbenTree modelValue synchronization (#5825) 2025-03-31 11:09:36 +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
Netfan ed2da6315e fix: watermark settings in the preferences modified accidentally (#5823) 2025-03-31 11:09:36 +08:00
Jin Mao 3f4e878e69 feat(tabbar): 添加右键菜单过滤功能 (#5820) 2025-03-31 11:09:36 +08:00
anyup 5bace9de1f fix: route root.children duplicate problem (#5755)
Co-authored-by: anyup <anyupxing@163.com>
2025-03-31 11:09:36 +08:00
zhang 2e80c773db style: 更正引用格式 (#5784) 2025-03-31 11:09:36 +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
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
YunaiV 584f107ae1 refactor: 使用 vben 自带的 paramsSerializer 枚举,替代原本自己封装的方法 2025-03-29 20:13:39 +08:00
Netfan 98b2d2a972 feat: pre-set serialization methods for request parameters (#5814)
添加快捷设置请求参数序列化方法的配置
2025-03-29 20:04:25 +08:00
YunaiV a08d73b034 feat:岗位 post 的实现 100%(export 功能) 2025-03-29 20:00:00 +08:00
Netfan 96d2bc52e9
feat: pre-set serialization methods for request parameters (#5814)
添加快捷设置请求参数序列化方法的配置
2025-03-29 19:21:21 +08:00
Netfan ecd31c8332 fix: vben tree component warning (#5809) 2025-03-28 21:57:18 +08:00
Netfan 747db1405f perf: improve api-component for using in form (#5796) 2025-03-28 21:57:18 +08:00
Netfan ffd7f1a53f fix: auto check parent after node selected (#5794) 2025-03-28 21:57:18 +08:00
YunaiV 265a7941e2 refactor: 移除 userInfo 里面,多余的 realName、roles 树形 2025-03-28 19:59:06 +08:00
Netfan c2b5f6497d
fix: vben tree component warning (#5809) 2025-03-28 16:01:30 +08:00
Netfan 3c2d325d8c
perf: improve api-component for using in form (#5796) 2025-03-27 15:51:11 +08:00
Netfan 870cd86393
fix: auto check parent after node selected (#5794) 2025-03-27 14:22:05 +08:00
Netfan 5659dab41e fix: popover background color in dark mode (#5783)
* 修复dark主题下的弹出层背景色在某些浏览器上表现为完全透明的问题
2025-03-26 22:51:07 +08:00
zhang 9375ed110b perf: 优化多文件上传入参是数组的情况 (#5757)
Co-authored-by: Jin Mao <50581550+jinmao88@users.noreply.github.com>
2025-03-26 22:51:07 +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
Netfan 17f156de89 fix: default value for nested fields (#5763) 2025-03-26 22:51:07 +08:00
Netfan 482227003c fix: base component focus color in form (#5760) 2025-03-26 22:51:07 +08:00
Netfan 47d821d179 feat: add `form-is-required` class for required items. fixed: #5739 (#5759) 2025-03-26 22:51:07 +08:00
Netfan 91cb6aaf0d fix: table form reset will trigger reload twice while submitOnChange set (#5756)
* 修复表格的搜索表单在重置时,可能会触发2次表格刷新的问题
2025-03-26 22:51:07 +08:00
anyup 10f252e550 fix: sort the menu so that it doesn't get replaced with 999 when order=0 (#5753)
Co-authored-by: anyup <anyupxing@163.com>
2025-03-26 22:51:07 +08:00
vben 7a0354f4a8 chore: release 5.5.4 2025-03-26 22:51:07 +08:00