Akuria
294700a247
fix: skip fixed footer height in auto-content-height calculation ( #7910 )
...
* fix: skip fixed footer height in auto-content-height calculation
When the Page component's footer has position: fixed, it is removed
from the normal document flow and should not be subtracted from the
available content height. Previously, the footer's offsetHeight was
always subtracted, causing incorrect height calculation for fixed
footers.
Also reset shouldAutoHeight before recalculating to prevent stale
state on hot reload.
Fixes #4576
* fix: replace getComputedStyle footer height check with footerFixed prop
Use an explicit `footerFixed` boolean prop instead of runtime
getComputedStyle detection to determine whether the footer height
should be excluded from content height calculation. This avoids
unreliable style queries and makes the behavior deterministic.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 10:43:10 +08:00
Akuria
f55b18ffd7
fix: update primary color when toggling dark/light mode with custom theme ( #7909 )
...
When a custom theme is selected and the user toggles between dark and
light mode, the primary color was not being recalculated. This was caused
by a guard condition in the builtin theme watcher that skipped updating
themeColorPrimary for custom themes during mode changes.
Remove the guard so that the primary color is always recalculated from
the theme preset when the mode changes, ensuring Element Plus CSS
variables stay in sync.
Fixes #6615
2026-05-16 10:42:35 +08:00
Akuria
ca5931e8c4
fix: preserve tree default value when treeData starts empty ( #7908 )
...
When treeData is initially an empty array (e.g. before async data
arrives), updateTreeValue() would clear the modelValue because no
matching items could be found in the empty flattened data. This caused
default values to be lost.
Only call updateTreeValue() when flattenData has items, so that
modelValue is preserved until the actual tree data arrives.
Fixes #6522
2026-05-16 10:41:42 +08:00
XuZhiqiang
ccfc122eae
fix(@vben/web-antdv-next): 将依赖从 @form-create/ant-design-vue 改为 @form-create/antdv-next
2026-05-15 18:05:31 +08:00
xingyu
59183029b6
!341 fix: 修复禁用的删除按钮仍然可以点击的问题
...
Merge pull request !341 from li_shifeng/fix-dept-delete
2026-05-14 08:29:04 +00:00
xingyu
e81ca2c13f
!343 fix(@vben/web-antdv-next): 修复 InputNumber 组件宽度在表单中不占满的问题
...
Merge pull request !343 from XuZhiqiang/feat-antdv-next
2026-05-14 08:03:20 +00:00
XuZhiqiang
dcccef1c02
fix(@vben/web-antdv-next): 修复 InputNumber 组件宽度在表单中不占满的问题
2026-05-13 15:47:52 +08:00
XuZhiqiang
9a5bee4dce
fix(@vben/web-antdv-next): adapter修正组件名称TextArea一致的大小写格式
2026-05-13 15:20:15 +08:00
xingyu
29665f02bf
!342 feat(@vben/web-antdv-next): migrate ant-design-vue to antdv-next
...
Merge pull request !342 from XuZhiqiang/feat-antdv-next
2026-05-12 13:46:18 +00:00
XuZhiqiang
06f776d1ef
feat(@vben/web-antdv-next): 替换 antdv-next 中不可用的 List 组件,手动迁移为 div 结构,后续组件库新增 Listy 组件在进行替换
2026-05-12 16:37:42 +08:00
XuZhiqiang
40f0ba71f5
feat(@vben/web-antdv-next): migrate ant-design-vue to antdv-next
...
Migration Summary: ant-design-vue → antdv-next
Core Changes
package.json - Replaced "ant-design-vue": "catalog:" with "antdv-next": "catalog:"
bootstrap.ts - Changed @vben/styles/antd to @vben/styles/antdv-next
adapter/component/index.ts - Major rewrite:
Removed dynamic defineAsyncComponent imports from ant-design-vue/es/...
Added static imports from antdv-next main entry
Renamed RangePicker → DateRangePicker, Textarea → TextArea
Defined local types for Rule, Locale, UploadRequestOption, FileType, Key
Bulk Import Replacements (100+ files)
from ant-design-vue → from antdv-next
from ant-design-vue/es/locale/... → from antdv-next/locale/...
from ant-design-vue/es/... → removed (use main entry)
from ant-design-vue/lib/... → removed (use main entry)
Component API Differences Handled
ant-design-vue antdv-next Files affected
Form.Item FormItem 475 references
Tabs.TabPane TabPane 240 references
Select.Option SelectOption 151 references
Descriptions.Item DescriptionsItem 2 references
Timeline.Item TimelineItem 2 references
Radio.Group RadioGroup 20 references
Collapse.Panel CollapsePanel 9 references
Layout.Content/Sider/Header/Footer LayoutContent/LayoutSider/... 14 references
Dropdown#overlay slot Dropdown#popupRender 6 references
RangePicker DateRangePicker 15+ references
Textarea TextArea 37 references
ButtonGroup Space (fallback) 12 references
Known Issues (requires manual attention)
List component - Not available in antdv-next. 4 files have TODO comments where List/List.Item/List.Item.Meta are used
@form-create/ant-design-vue - Kept as-is (compatible with antdv-next at runtime)
Type errors - ~366 type errors remain (vs 189 in web-antd), mostly pre-existing business logic issues and minor API differences
2026-05-12 15:30:08 +08:00
XuZhiqiang
0fced45a9c
refactor(@vben/web-antdv-next): 根据web-antd初始化web-antdv-next
2026-05-12 12:14:32 +08:00
li_shifeng
2ea7da06c5
fix: 修复禁用的删除任然可以点击的问题
2026-05-11 14:13:23 +08:00
JyQAQ
aac4e88353
docs(@vben/docs): 添加 VCropper 图片裁剪组件文档 ( #7904 )
...
* docs(@vben/docs): 添加 VCropper 图片裁剪组件文档
- 新增中文文档 docs/src/components/common-ui/vben-cropper.md
- 新增英文文档 docs/src/en/components/common-ui/vben-cropper.md
- 新增基础用法示例 demos/vben-cropper/basic
- 新增固定比例裁剪示例 demos/vben-cropper/aspect-ratio
- 更新侧边栏配置添加 Cropper 入口
* fix: 更正跨域图片描述并修复 demo 内存泄漏
- 文档更正:网络图片导出裁剪结果需服务端 CORS 支持
- 修复 URL.createObjectURL 内存泄漏:添加 revokeObjectURL 释放
2026-05-11 12:50:44 +08:00
xueyitt
30356a24e6
fix: 修正vxtable不存在formConfig时,直接变更data失效问题
...
修正vxtable不存在formConfig时,直接变更data失效问题
2026-05-11 10:09:47 +08:00
MistyMoon
ba60bc3c14
fix(@vben/layouts): correct logo theme in semi-dark sidebar ( #7785 ) ( #7902 )
2026-05-10 10:41:43 +08:00
JyQAQ
f5feddc6c7
feat(@vben/plugins): tiptap 组件新增 maxHeight 属性支持及文档 ( #7897 )
...
* feat(@vben/plugins): tiptap 组件新增 maxHeight 属性支持
- 新增 maxHeight prop 支持限制编辑器最大高度
- 编辑器内容区超出最大高度时自动滚动
- 移除 style.css 中未使用的 CSS 规则
* docs(@vben/plugins): 添加 tiptap 富文本编辑器组件文档
- 新增中文文档 docs/src/components/common-ui/vben-tiptap.md
- 新增英文文档 docs/src/en/components/common-ui/vben-tiptap.md
- 新增基础用法示例 demos/vben-tiptap/basic
- 新增图片上传示例 demos/vben-tiptap/image-upload
- 更新文档侧边栏配置
* fix(@vben/plugins): extract URL from response in image upload callback
The upload callback was incorrectly passing the AxiosResponse object
to resolve() instead of extracting the actual image URL string.
This caused the editor to insert [object Object] as image src,
resulting in broken images.
* chore: add changeset for tiptap maxHeight feature
* Revert "chore: add changeset for tiptap maxHeight feature"
This reverts commit a28fc4441f14641f6af6c1a143aa6959591315b2.
2026-05-10 10:38:21 +08:00
Yanghai.Lin
0868deb82b
fix: 修复 Input 组件 focus 边框被裁剪问题 ( #7894 )
...
* fix(other): 修复 oxlint ignorePatterns 导致 pre-commit hook 失败
* fix(@vben-core/shadcn-ui): 修复 Input 组件 focus 时边框被父容器 overflow hidden 裁剪
* fix(@vben-core/shadcn-ui): 修复 SelectTrigger 组件 focus 时边框被父容器 overflow hidden 裁剪
2026-05-10 10:37:39 +08:00
layhuts
1299acd8f9
fix: 获取已存在的 key,避免重复写入刷新过期时间
2026-05-09 23:27:25 +08:00
layhuts
43717807a4
style: reformat code
2026-05-09 23:18:44 +08:00
layhuts
1b4e126128
fix: 处理localStorageDriver在某些受限浏览器环境下报错导致无法使用
2026-05-09 23:10:05 +08:00
layhuts
d23b246aee
fix: 处理localStorage prefix === ''时提醒用户可能会全部删除数据
2026-05-09 23:04:38 +08:00
layhuts
71f2e5f504
fix: 去除onConfirm中的setTimeout
2026-05-09 22:51:39 +08:00
layhuts
4bbd34fab9
fix: 修复 labelField 和 nameField
2026-05-09 22:28:03 +08:00
layhuts
08e4bb40b4
style: reformat code
2026-05-09 18:28:23 +08:00
layhuts
9c49f4bb1e
refactor: 优化viewed实例初始化,rowStyle rowClassName 从最新的配置中读取
2026-05-09 18:27:09 +08:00
layhuts
28905b0bec
style: reformat code
2026-05-09 14:08:19 +08:00
layhuts
bbcad709ca
style: 修改注释
2026-05-09 14:07:30 +08:00
layhuts
a5f0537cb0
fix: 处理viewedKeys由于 FIFO 顺序,显式提供的值可能会被异步存储恢复静默地移除。
2026-05-09 13:38:50 +08:00
layhuts
c78d89f549
fix: 处理非原子性的先清除后写入操作会setKeys带来永久性数据丢失的风险
2026-05-09 13:16:50 +08:00
layhuts
f2a17cbe78
fix: 处理getViewedKeys()返回对内部可变对象的直接引用问题
2026-05-09 13:10:41 +08:00
layhuts
9667232684
fix: 加上 - 分隔符来避免跨前缀误匹配
2026-05-09 12:56:50 +08:00
layhuts
1f584ff0c9
fix: 处理window不可用时降级使用Memory
2026-05-09 12:49:21 +08:00
layhuts
75ed17a1f9
docs: 更正saveToCache所属组件
2026-05-09 12:41:10 +08:00
layhuts
cc6ccaab38
docs: 为符合 Markdown lint 规范,指定代码块语言。
2026-05-09 12:38:13 +08:00
layhuts
0be4b51eaa
fix: 解决window在构造函数中进行访问破坏SSR/Node环境。
2026-05-09 12:33:15 +08:00
layhuts
b40822e3ed
fix: 解决indexedDB的getDB在失败重试时永远返回错误Promise问题
2026-05-09 12:02:41 +08:00
layhuts
df5cb426d1
fix: 解决indexedDB的setItem、,removeItem以及clear在请求成功时而不是事务完成时触发resolve问题
2026-05-09 11:54:11 +08:00
layhuts
2d36d6b510
style: reformat code
2026-05-09 11:03:47 +08:00
layhuts
88d5661e0c
refactor: 重构ViewedRowPersistOptions处理扁平化问题
...
改成按 type 字段区分的联合类型
2026-05-09 11:02:16 +08:00
layhuts
8ce773f264
feat: 在storage-manager添加keys方法
2026-05-09 10:58:41 +08:00
layhuts
329fa68207
fix: 手动操作行标记示例时动态获取列表前两行
2026-05-09 09:23:10 +08:00
layhuts
e1f6449073
feat: 表格已读行操作标记
2026-05-08 20:03:05 +08:00
layhuts
51e8b27d4c
style(@vben-core/shared): formatting
2026-05-08 17:36:47 +08:00
layhuts
e555ee065e
feat(@vben-core/shared): 新增indexedDB
...
在cache下新增indexedDB缓存
2026-05-08 17:34:54 +08:00
YunaiV
c164904a14
chore: 合并 github/master,引入 PR #259 BPMN 流程设计器审批节点自定义配置编辑后丢失修复
2026-05-04 00:36:22 +08:00
芋道源码
a0ceb45df9
Merge pull request #259 from lb1565387341/fix_bpmn_custom_user_config
...
fix: [bpm][antd&ele] 修复流程设计器自定义配置编辑后丢失的问题
2026-05-04 00:26:29 +08:00
YunaiV
c641542c71
fix(bpm):修正 BPM 流程实例审批弹窗网关分支重算的并发与提交问题
...
- 提交时不再用节点表单值覆盖 data.variables;与预览阶段使用同一份合并变量
- onChange 加 useDebounceFn(300ms) + 请求序号去重,handleAudit 提交前 await 最新一轮重算
- 切换任务时重置请求序号与 pending 重算
- 改用 form-create 官方 formData() 取节点表单当前值
- 节点表单初始化等 fApi 就绪后再计算下一节点(until + 1s 兜底)
同步至 web-antd / web-ele 两端
2026-05-03 16:35:03 +08:00
Lin
b5dacd992f
feat: add time zone option to preference settings ( #7871 )
2026-05-03 12:16:58 +08:00
YunaiV
a3d8e4bfc1
feat: 添加包含和不包含条件选项到常量定义
2026-05-03 11:04:58 +08:00