Commit Graph

2943 Commits

Author SHA1 Message Date
dap
1b63469c40 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into antdv-next 2026-03-04 11:01:03 +08:00
dap
a9241aef84 chore: 更新web-antd版本并调整按钮水波纹样式为默认
将版本号从2.0.0-alpha.2升级至2.0.0-alpha.3
将按钮水波纹样式从'Happy'改为'Default',以准备正式版发布
2026-03-03 19:53:28 +08:00
dap
6c6fb316f0 docs: 为配置更新提示添加多语言注释
在配置文件顶部添加多语言注释,提醒用户在更改配置后需清空 localStorage 缓存,以提高国际团队开发者的理解度。
2026-03-03 16:10:49 +08:00
zouawen
2a86404ba5 fix: 修复混合双列布局侧边栏拖拽线条位置显示bug,同步修复普通布局和混合双列布局切换时width计算导致侧边栏宽度显示异常问题,新增普通布局和混合双列布局侧边栏菜单折叠状态同步 (#7596) 2026-03-02 15:31:29 +08:00
han
b8a0199cde feat(preferences): add toggle for copy preferences button (#7594)
Co-authored-by: hl <hl@nmcsoft.com>
2026-03-02 15:30:38 +08:00
Bryan Qiu
a46ed55a86 fix: bump version to 5.6.0 (#7592) 2026-03-02 04:22:21 +08:00
Jin Mao
1a9fbddef4 Merge branch 'main' into main 2026-02-28 12:04:48 +08:00
zouawen
1209aaafb4 fix: 修复lint报错 2026-02-28 11:25:08 +08:00
zouawen
8e71261d49 fix: 侧边栏菜单拖拽功能在设置内增加开关 2026-02-28 11:19:24 +08:00
dap
55b9d5cdb7 refactor(代码生成模板): 将API模板中的requestClient替换为alovaInstance
统一HTTP客户端调用方式,提升代码一致性,便于后续维护和依赖管理
2026-02-28 11:11:29 +08:00
dap
4f9caec9d5 feat(generator): 添加antdv-next专用代码生成模板
添加针对antdv-next框架的代码生成模板,支持useVbenForm和原生antd表单两种表单生成方式
包含API层、视图层、数据模型等完整模板文件,新增更新指南文档说明迁移步骤
2026-02-28 11:06:42 +08:00
dependabot[bot]
49e45eab54 chore(deps): bump vue-router from 4.6.4 to 5.0.3 (#7583)
Bumps [vue-router](https://github.com/vuejs/router) from 4.6.4 to 5.0.3.
- [Release notes](https://github.com/vuejs/router/releases)
- [Commits](https://github.com/vuejs/router/compare/v4.6.4...v5.0.3)

---
updated-dependencies:
- dependency-name: vue-router
  dependency-version: 5.0.3
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-27 17:06:18 +08:00
Jin Mao
bd22793ceb feat: add the attribute routeCached to route to control cache the DOM corresponding to the route 2026-02-27 16:04:01 +08:00
zouawen
b2013436c5 fix: 优化最大值限制 2026-02-27 11:12:51 +08:00
zouawen
cc808cb8c5 fix: 优化最小值限制 2026-02-27 11:07:28 +08:00
zouawen
afffc4b3f0 fix: 优化侧边栏拖拽逻辑,支持展开和折叠 2026-02-27 10:54:15 +08:00
dap
a272c54561 refactor(表单): 移除查询表单中时间组件的冗余默认值
清理多个模块查询表单中 RangePicker 组件的 defaultValue 设置,因为框架后续版本已修复重置问题,不再需要显式设置为 [null, null] 来确保表单重置正常工作。同时更新相关文档说明。
2026-02-26 19:24:06 +08:00
dap
7f5758b89c chore: 更新依赖包版本至最新稳定版
更新 @antdv-next/auto-import-resolver、@antdv-next/icons 和 antdv-next 到最新版本,以获取错误修复和功能改进。
2026-02-26 19:19:42 +08:00
dap
ba6c450298 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into antdv-next 2026-02-26 19:16:40 +08:00
zouawen
99710ef9dc feat: 优化侧边栏拖拽逻辑 2026-02-26 18:11:53 +08:00
zouawen
3d4ae04d9b Merge branch 'main' into main 2026-02-26 10:20:32 +08:00
zouawen
707b391449 feat: 侧边栏宽度拖拽改为composable实现,同时修复tabbar.ts文件lint报错 2026-02-26 10:09:57 +08:00
ming4762
45b843f344 fix: fix bug where renderEcharts gets stuck in a dead loop (#7561)
* 触发条件:echart所在页面开启keepalive 在其他页面切换颜色模式
2026-02-26 06:21:08 +08:00
Wu Clan
191fd90f06 chore: 更新表单描述显示样式 (#6938) 2026-02-26 06:17:04 +08:00
moil-xm
05920cd66d feat(vite-config): vite export typing (#7569)
* feat(vite-config): vite export typing

* feat(vite-config): add type

---------

Co-authored-by: Jin Mao <50581550+jinmao88@users.noreply.github.com>
2026-02-26 06:14:12 +08:00
Jin Mao
01508d5e42 fix: fix lint 2026-02-26 05:45:36 +08:00
zouawen
57cf6cbc9e feature: 简易版菜单宽度拖拽功能 2026-02-25 17:50:22 +08:00
AxiosLeo
03ebbea46a fix(menu): update hover color variable to use the correct reference (#7544)
* fix(menu): update hover color variable to use the correct reference

Medium Severity

In the horizontal .is-light menu section, --menu-item-hover-color is set to hsl(var(--menu-item-color)), but --menu-item-color is already defined as hsl(var(--accent-foreground)). This results in hsl(hsl(...)) at computed-value time, which is invalid CSS. The non-horizontal .is-light block correctly uses var(--menu-item-color) without the extra hsl() wrapper.

* fix(menu): simplify hover styles by removing redundant nested hover rules

Low Severity

The SCSS &:not(.is-active):hover { &:hover { ... } } compiles to a :hover:hover pseudo-class chain, which is functionally identical to a single :hover. The inner &:hover nesting is redundant and adds unnecessary complexity compared to placing styles directly inside the &:not(.is-active):hover block.
2026-02-12 22:22:53 +08:00
zouawen
8e7a5d1ec3 fix: Fix layout change, ensure div[ref="asideRef"] is contained within <aside> (#7551) 2026-02-12 22:22:34 +08:00
AxiosLeo
aa74a2535b fix(tabbar): visitHistory field (#7543)
High Severity

The visitHistory field is a Stack<string> class instance persisted to sessionStorage via pinia-plugin-persistedstate. There's no custom serializer or hydration hook. When the page reloads, JSON.parse(JSON.stringify(stack)) produces a plain object {dedup, items, maxSize} that lacks all Stack methods (push, pop, remove, retain, etc.) and the size getter. Pinia's $patch replaces the Stack instance with this plain object, so subsequent calls like this.visitHistory.push(...) will throw a TypeError.
2026-02-11 16:09:37 +08:00
zouawen
32379ba4b7 fix: 双列菜单模式下新增深色侧边栏和深色侧边栏子栏 (#7542)
* fix: 双列菜单模式下新增深色侧边栏和深色侧边栏子栏

* fix: 修复报错 config.test.ts.snap

* fix: 修复lint报错

* fix: 修复侧边栏菜单文本内容溢出问题

* fix: 修复lint报错
2026-02-11 16:08:32 +08:00
dap
5177f5c98d style(web-antd): 统一输入框圆角样式
为客户端配置表单中的超时输入框添加一致的圆角样式,确保与设计系统变量保持一致
2026-02-11 11:28:57 +08:00
dap
e9d3200c38 fix(系统管理): 将表单排序字段默认值从0改为1
避免因默认值为0导致排序异常,确保新增记录时排序字段有合理的初始值
2026-02-10 21:20:26 +08:00
dap
27c78cb888 fix(表单): 修复表单验证错误样式并统一规则
修复表单验证错误状态下的样式问题,包括输入框、选择器、时间选择器等组件的边框和阴影颜色。使用 CSS 变量统一错误阴影样式,提高可维护性。同时为演示表单的所有字段统一添加必填规则,并移除数字字段的冗余后缀配置。
2026-02-10 21:09:59 +08:00
moil-xm
7fe8d7b4be fix: ts 错误: 类型实例化过深,且可能无限 2026-02-10 16:13:36 +08:00
Bin
aace726a91 feat(playground): add antdv-next router link (#7532)
Co-authored-by: fuwb <fuwb@sunsharing.com.cn>
2026-02-10 13:09:34 +08:00
Jin Mao
e6f6e5464a Merge branch 'main' into main 2026-02-10 12:08:16 +08:00
Aliner
7d04b600fb fix: correct updateDate to updateData in the echarts hook (#7538)
* fix(@vben/plugins): Fixed the misspelling of the data update method name in the echarts hook

Correct updateDate to updateData, ensuring that the API method name is correct and consistent

* Revert "fix(@vben/plugins): Fixed the misspelling of the data update method name in the echarts hook"

This reverts commit 86d679cf25631bd1abd56d4f971e6db3a9b9d6d5.

* fix(@vben/plugins): fixed the misspelling of the data update method name in the echarts hook

Correct updateDate to updateData, ensuring that the API method name is correct and consistent
2026-02-10 11:19:45 +08:00
dap
05b32dd249 docs: 更新分析仪表板配置变更说明
更新 change.md 文档,记录路由模式从 backend 改为 mix 的配置变更。混合路由模式下,路由文件应放置在 apps/web-antd/src/router/routes/modules 目录中,并移除原有的 local.ts 文件。
2026-02-10 11:03:29 +08:00
dap
ed42d9de65 refactor(router): 重构路由菜单生成逻辑并新增模块化路由
移除本地菜单列表的依赖,改为完全从后端API获取菜单数据
新增 profile 和 dashboard 模块化路由文件
简化菜单生成逻辑,避免不必要的深拷贝操作
2026-02-10 11:01:46 +08:00
zouawen
463bfde2ac fix: config.test.ts.snap新增showRefresh参数 2026-02-10 08:50:06 +08:00
dap
b788a7d860 feat: 将路由访问模式更改为混合模式并更新版本号
- 将 `accessMode` 从 'backend' 改为 'mixed',以支持后端路由与前端路由的合并
- 更新应用版本号至 2.0.0-alpha.2
- 为按钮波纹效果添加默认主题配置
2026-02-09 17:02:42 +08:00
dap
f3942edece refactor(router): 移除未使用的路由模块
清理不再使用的 dashboard 和 vben 路由模块文件,保持路由结构整洁
2026-02-09 16:47:51 +08:00
dap
4a6745a8ea perf(vite-config): 禁用 sourcemap 以减小构建输出体积 2026-02-09 16:45:42 +08:00
dap
88b311202d fix: 关闭弹窗前确认对话框禁用背景模糊
避免弹窗关闭时的背景闪烁问题,提升用户体验
2026-02-09 16:43:15 +08:00
dap
7d1a51bfe3 docs: 从文档中移除已知问题部分
移除关于 message duration 无效的已知问题记录,因为该问题已解决。
2026-02-09 16:40:57 +08:00
zouawen
893f74dc3e fix: 优化横向布局时菜单激活或聚焦时背景色,标签工具栏新增刷新按钮,其他样式优化 2026-02-09 16:32:02 +08:00
dap
7092cd59d3 chore: 移除 web-antdv-next 应用及相关文件 2026-02-09 16:28:41 +08:00
dap
2189f22bbd Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into antdv-next 2026-02-09 16:26:26 +08:00
Jin Mao
8a215fbcc7 chore: release 5.6.0 2026-02-09 05:09:57 +08:00