xingyu
6b6708bcf2
fix: 修复点击退出图标确认后不能退出 && 图标排序等数组字段需顺序敏感比较 ( #8179 )
...
* chore: 调整 sortablejs 的位置,只在用到的模块引入
* fix: non-null assertion lint error
* fix: 修复点击退出图标确认后不能退出
* fix: 图标排序等数组字段需顺序敏感比较
* feat: 配置中增加 refresh 并统一位置
2026-07-22 17:44:10 +08:00
金毛88
899910547f
Merge branch 'fork/xingyu4j/deps'
2026-07-22 09:55:03 +08:00
金毛88
70a1d0a2e0
Merge branch 'fork/maoxuner/fix/system-menu-form'
2026-07-21 23:05:33 +08:00
MistyMoon
24eb67224d
fix: message/notification demos not auto-dismissing due to wrong duration unit ( #8168 )
...
duration was written as 2500 (intended as ms), but ant-design-vue's
message/notification duration is in seconds, so it was interpreted as
2500s (~41min), making the popups appear to never close.
Changed to 2.5 with a comment documenting the unit.
Closes #8144
2026-07-21 22:57:17 +08:00
Jin Mao
e4e25028b5
Merge branch 'main' into fix/system-menu-form
2026-07-21 22:53:06 +08:00
金毛88
ef27b4e349
Merge branch 'fork/maoxuner/fix/lang-doc'
2026-07-21 22:48:41 +08:00
金毛88
b21563a89b
feat: 顶栏与用户下拉框按钮样式统一与 tooltip 修复
...
- 修复 VbenTooltip 的 :content prop 类型错误,改用默认插槽
- 修复 VbenIconButton 的 onClick prop 支持数组合并
- VbenFullScreen 新增 tooltip prop,支持直接设置提示
- 统一顶栏与用户下拉框所有按钮样式,使用 VbenIconButton 包装
- 移除 i18n 中多余的"启用"字样(全局搜索/语言切换)
- 修复 VbenPopover PopoverTrigger 嵌套 button 导致 tooltip 不显示
Co-Authored-By: AtomCode (GLM-5.2) <noreply@atomgit.com >
2026-07-21 22:36:42 +08:00
xingyu4j
5318774efe
fix: 优化命令执行逻辑,使用串行执行以提高错误可见性
2026-07-20 18:50:49 +08:00
xingyu4j
68a2717a26
fix: test error
2026-07-20 18:48:20 +08:00
xingyu4j
0a2c01e453
fix: 添加 oxlint 禁用注释以避免嵌套三元运算符警告
2026-07-20 18:45:38 +08:00
xingyu4j
b330f08ef4
fix: lint
2026-07-20 18:36:48 +08:00
xingyu4j
6676d962e9
fix: 修复Vben用户信息中的 homePath 属性定义
2026-07-20 18:36:37 +08:00
xingyu4j
dd8307dfe5
chore: update dependencies and refactor command execution
2026-07-20 18:36:09 +08:00
xingyu4j
d0c327e037
chore: update pnpm v11.15.1
2026-07-20 17:40:54 +08:00
xingyu4j
901a147abb
Merge branch 'main' of https://github.com/xingyu4j/vue-vben-admin into deps
2026-07-20 17:39:20 +08:00
陆伯言
86e68bdde3
docs: 同步后端接入文档示例菜单地址
...
提升示例菜单数据的整体一致性,避免多处信息不一致的情况
2026-07-20 01:03:58 +08:00
陆伯言
054deae3bb
fix: 菜单组件mock数据与实际保持一致
2026-07-20 01:03:58 +08:00
陆伯言
772286fb73
fix: 路由地址不强制以斜杠开头
...
兼容新dashboard路由配置
2026-07-20 00:46:27 +08:00
陆伯言
5936ff2e0f
fix: 系统菜单管理上级菜单无法显示名称的问题
...
antdv-next TreeSelect组件没有title插槽
2026-07-20 00:20:00 +08:00
金毛88
f840d235ef
feat: 偏好设置小部件支持位置选择与拖拽排序
...
- 顶栏各小部件按钮支持选择位置(header/user-dropdown/none),偏好设置按钮额外保留 auto/fixed 智能兜底,移动端/全屏内容模式下自动切 fixed 浮动保命,避免偏好入口死锁
- draggable-list.vue 的 listRef 未在模板绑定,Sortable 永不初始化导致小部件无法拖拽;加 ref 绑定与 data-key 让 onEnd 从 DOM 读真实新顺序
- preferences.ts 的 updatePreferences 用 defu(merge) 合并数组,对 widget.order 是 concat 语义,每次拖拽触发更新都会把当前 order 追加一次,localStorage 里膨胀到上百条;改用 mergeWithArrayOverride 整体替换,加载缓存时 sanitizeCachedArray 去重已存在的脏数据
- preferences 按钮之前在 widget.order 里因 labelMap 未登记显示成裸字符串,且 widgetChecks 缺 refresh 导致刷新按钮不按 order 渲染;统一 preferences 与其它 widget 的拖拽排序与位置 select,refresh 补进 rightSlots.widgetChecks 并补模板渲染
- 补 sortablejs 依赖、WidgetPreferences.order 类型字段、preferences-drawer.vue 的 widgetOrder 绑定
2026-07-19 21:34:11 +08:00
陆伯言
930597c605
docs: 更新新增语言包的说明
...
closed #8160
2026-07-19 02:27:09 +08:00
陆伯言
41c20a43af
docs: 更正语言使用示例,确保可用
...
使用可用的语言配置
修复computed变量使用语法错误
closed #8159
2026-07-19 01:22:00 +08:00
陆伯言
fe65d548be
docs: 修复英文语言文件路径错误
...
closed #8158
2026-07-19 01:17:22 +08:00
金毛88
0cd87c170f
feat: 顶栏按钮支持位置选择(header/user-dropdown/none)
...
为顶栏所有部件按钮添加独立的位置配置,支持在顶栏、用户下拉菜单、不显示
三种选项间切换,每个按钮可独立设置。
- 新增 7 个位置偏好字段:globalSearchButtonPosition、
themeToggleButtonPosition、languageToggleButtonPosition、
fullscreenButtonPosition、notificationButtonPosition、
refreshButtonPosition、timezoneButtonPosition
- 合并 lockScreenButtonPosition、logoutButtonPosition
- header.vue 按位置条件过滤按钮显示
- user-dropdown.vue 新增对应菜单项,支持在用户下拉菜单中显示
- 偏好设置界面仅保留位置选择器(不再需要独立的开关)
- 更新中英文国际化文案
Co-Authored-By: AtomCode (deepseek-v4-flash) <noreply@atomgit.com >
2026-07-18 22:46:31 +08:00
金毛88
b71ebbd673
Merge remote-tracking branch 'pr-8019-temp/main'
2026-07-18 19:21:36 +08:00
金毛88
31d3bd18f3
Merge branch 'fork/LayHuts/feature/form-field-arry'
2026-07-18 19:18:14 +08:00
Jin Mao
eae6771554
Merge branch 'main' into feature/fix_defects_router
2026-07-18 03:54:49 +08:00
JyQAQ
8ac66a96bc
fix: 修复弹窗中使用裁剪图片会出现层级问题 ( #8156 )
...
* fix(@vben/playground): 弹窗中使用裁剪图片会出现层级问题
* fix(project): 修复弹窗中裁剪图片在 web-antd 与 web-antdv-next 的层级问题
2026-07-17 15:17:37 +08:00
Guillermo Sagar
6910c691f7
修复动画导致的白屏Bug ( #8148 )
...
首次页面加载正常,但是当通过页面点击切换路由的时候白屏,无法正常渲染子页面
Vue Transition + KeepAlive 空白页 bug**: `<Transition mode="out-in">` + 条件渲染会导致路由切换空白页。`mode="out-in"` 要求旧元素完成 leave 动画后新元素才进入,但路由切换时条件渲染可能在动画前就移除了旧元素,导致 `<Transition>` 永远等待一个不存在的元素 → 死锁。**解决方案**: 移除 `mode="out-in"`(保留 Transition 动画),或在 `apps/web-antd/src/preferences.ts` 设置 `transition: { enable: false }` 关闭动画走 `v-else` 分支。
2026-07-16 09:35:25 +08:00
Harold Zhang
263d8e5b52
Merge branch 'main' into feature/fix_defects_router
2026-07-14 09:47:34 +08:00
Harold Zhang
b79b82ecf0
feat: fixed the preference will hide all other button theme/timezone/lanague etc ( #8147 )
2026-07-13 21:31:06 +08:00
xingyu4j
91a2e80be8
fix: 优化代码格式,合并类型声明
2026-07-13 18:30:19 +08:00
xingyu4j
819ddd4ebb
fix(style): 添加no-invalid-position-declaration规则到stylelint配置
2026-07-13 18:29:30 +08:00
xingyu4j
bb6403d513
chore: update deps
2026-07-13 18:29:01 +08:00
xingyu4j
45c3776ffd
chore: update pnpm v11.12.0
2026-07-13 18:27:57 +08:00
Harold Zhang
6eb79b8ef0
Merge branch 'main' into feature/fix_defects_router
2026-07-13 08:59:16 +08:00
zouawen
8b7c245bc7
fix: 修复首选项导航栏宽度问题 ( #8136 )
2026-07-11 11:43:47 +08:00
Harold Zhang
e416de3290
fix: fixed defects of router
2026-07-10 10:15:40 +08:00
luoqiz
14d03a1c2d
fix: 统一BasicUserInfo ( #8133 )
2026-07-09 13:23:29 +08:00
zhb410181
9769c11de5
fix(style): 修复偏好设置功能tab栏宽度未自适应问题 ( #8132 )
2026-07-09 13:23:08 +08:00
陆伯言
88918aad10
docs: fix typo of env demo ( #8129 )
...
closed #8125
2026-07-08 08:38:06 +08:00
陆伯言
75c3a7214b
docs: update default home path perferences ( #8121 )
...
closed #8117
2026-07-07 21:41:51 +08:00
陆伯言
71bcabd118
docs: update nitro mock server url ( #8119 )
...
closed 8113
2026-07-03 17:12:43 +08:00
dream-weave
81619b6090
fix(lint): align eslint and oxlint rules ( #8118 )
...
* docs: 路由文档示例代码同步路由组织新规范
* fix(lint): align eslint and oxlint rules
* fix(lint): avoid control character regex
2026-07-03 17:12:13 +08:00
dream-weave
77468ce9a6
docs: 路由文档示例代码同步路由组织新规范 ( #8114 )
2026-07-02 18:35:54 +08:00
Evan
8779c00670
fix: 修复homePath的路径 ( #8110 )
...
* fix: 修复homePath的路径
* fix: 单元测试数据
* chore: 单元测试快照数据
---------
Co-authored-by: Jin Mao <50581550+jinmao88@users.noreply.github.com >
2026-07-01 17:31:37 +08:00
金毛88
61f1b53325
fix: 修改默认首页,以适配router重构
2026-07-01 17:02:55 +08:00
layhuts
c56bb7d320
docs: 更新文档
2026-07-01 15:07:56 +08:00
金毛88
1490a93f47
Merge branch 'fork/bnuephjx/refactor/router-redirect'
2026-07-01 13:31:27 +08:00
金毛88
e50296e3c5
Merge branch 'fork/zouawen/main'
2026-07-01 13:06:42 +08:00