YunaiV
6fb45f1ded
fix(iot): 修复场景联动动态列表 key 与校验问题
...
- 新增 getStableObjectKey,统一处理对象列表 v-for 稳定 key
- 场景联动触发器、执行器、条件组、条件项改用稳定对象 key
- 保持场景规则 API 类型不包含 UI 专用 _key 字段
- 修复场景联动触发器/执行器校验与地图详情跳转
2026-05-24 16:43:02 +08:00
YunaiV
aeff25209d
fix(iot): 修复 13 处 bug 并完成 codex 三轮收口
...
按 codex 两轮 review 分批处理 IoT 模块 13 处 bug,对第二轮反馈中
B42/B47 的类型/字段问题做最终收尾,所有修复 web-antd / web-ele 两端同步。
主要修复:
- B91 设备分组:删除前校验 deviceCount,分组下有设备时弹警告
- B40 物模型 array 数据规格:从 Radio.Group @change 事件正确取值(antd)
- B42 物模型属性历史:list 写入时按 idx 生成 _rowKey,模板 row-key="_rowKey"
list 类型改 IotDeviceApi.DeviceProperty & { _rowKey: string }
匹配后端 IotDevicePropertyMapper.xml 实际返回的字段
(修掉 codex 指出的 antd row-key TS2322 与 ele 同毫秒撞键)
- B119 物模型表单:edit 模式禁用 identifier 编辑
- B47 场景规则主条件:产品/设备切换时清 deviceId/identifier/operator/value
(修掉 codex 指出的 condition.value.param TS2339,Trigger 无 param)
- B44 数据目的数据库配置:SQL 复制按钮 setTimeout 在 onBeforeUnmount 中清理
- B51 场景规则首页统计:total 取接口 result.total,其余基于当前页
- B29 产品卡片视图:图标为 URL 时改用 <img> 渲染,复用 @vben/utils 的 isHttpUrl
- B43 首页设备地图:移除过度设计的 AbortController,回归 vue3 源项目同款
InfoWindow 监听写法,querySelector 限定到 .BMap_bubble_content 子树
- B105 场景规则设备选择器:productId 变化后旧 deviceId 不在新列表则清空
- B45 通用 key-value 编辑器:v-for key 改用递增的 _uid,避免编辑/删除时 DOM 复用错乱
- B132 设备导入表单:beforeUpload 校验 .xls/.xlsx
- B126 设备详情:四个 tab 子组件 v-if 增加 device.id 守卫
附带工具收敛:
- @vben-core/shared/utils 新增 formatDayjs,统一 antd TimePicker/DatePicker
value-format 后回传的 Dayjs|string 归一
- 场景规则首页 updateStatistics 补回 JSDoc,对齐文件内其他 function 风格
验证:
- 改动文件 pnpm exec eslint 0 error
- pnpm -F @vben/web-antd / @vben/web-ele exec vue-tsc --noEmit --skipLibCheck
过滤 src/views/iot/|src/api/iot/ 均 0 hit
2026-05-24 10:11:43 +08:00
YunaiV
e7a61ce150
feat(iot): 优化 antd 里的整体代码风格。
2026-05-20 00:41:06 +08:00
YunaiV
e385823d46
fix: 修复 Vben5.0 form-create 多图上传校验拒绝 png/jpeg/gif,isImage 兼容 MIME 与扩展名两种 accept 写法
2026-05-02 22:56:38 +08:00
xingyu4j
b2cf1646a4
fix: lint
2026-04-13 16:46:44 +08:00
YunaiV
76f9d3d9fc
merge: 合并 master 分支,解决 isUrl 冲突(保留从 @vben/utils 导出的方式)
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-12 21:27:05 +08:00
xingyu4j
fece74f744
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into vite8
2026-03-23 16:55:27 +08:00
Jin Mao
340baf4f0b
chore: 处理合并的一些问题
2026-03-16 20:50:01 +08:00
xingyu4j
3946253d6e
chore(tsdown): align stub scripts and package exports
2026-03-15 21:17:41 +08:00
xingyu4j
26e9aa244b
fix(vite): adapt rolldown workspace resolution
2026-03-15 20:27:01 +08:00
xingyu4j
59912a00bc
chore(core-shared): migrate build to tsdown
2026-03-15 19:40:29 +08:00
xingyu4j
ae6a75e913
build: migrate core ts packages to tsdown
2026-03-15 18:13:49 +08:00
xingyu4j
a83d8248d7
fix: lint
2026-03-14 12:27:31 +08:00
xingyu4j
4cdc92f759
fix: lint
2026-03-14 12:16:31 +08:00
xingyu4j
ac3fc6b7d3
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into vite8
2026-03-14 11:34:06 +08:00
Jin Mao
a6a6efdf59
chore: release 5.7.0
...
- 更新 backend-mock 包版本
- 更新 web-antd 包版本
- 更新 web-antdv-next 包版本
- 更新 web-ele 包版本
- 更新 web-naive 包版本
- 更新 web-tdesign 包版本
- 更新 docs 包版本
- 更新 commitlint-config 包版本
- 更新 eslint-config 包版本
- 更新 oxfmt-config 包版本
- 更新 oxlint-config 包版本
- 更新 stylelint-config 包版本
- 更新 node-utils 包版本
- 更新 tsconfig 包版本
- 更新 vite-config 包版本
- 更新 @core/base/design 包版本
- 更新 @core/base/icons 包版本
- 更新 @core/base/shared 包版本
- 更新 @core/base/typings 包版本
- 更新 @core/composables 包版本
- 更新 @core/preferences 包版本
- 更新 @core/ui-kit/form-ui 包版本
- 更新 @core/ui-kit/layout-ui 包版本
- 更新 @core/ui-kit/menu-ui 包版本
- 更新 @core/ui-kit/popup-ui 包版本
- 更新 @core/ui-kit/shadcn-ui 包版本
- 更新 @core/ui-kit/tabs-ui 包版本
- 更新 constants 包版本
- 更新 access 包版本
- 更新 common-ui 包版本
- 更新 hooks 包版本
- 更新 layouts 包版本
- 更新 plugins 包版本
- 更新 request 包版本
- 更新 icons 包版本
- 更新 locales 包版本
- 更新 preferences 包版本
- 更新 stores 包版本
- 更新 styles 包版本
- 更新 types 包版本
- 更新 utils 包版本
- 更新 playground 包版本
- 更新 turbo-run 包版本
- 更新 vsh 包版本
- 更新根目录包版本
2026-03-14 09:14:23 +08:00
xingyu4j
a850d426ef
chore: fix lint and typecheck issues
2026-03-13 20:57:52 +08:00
xingyu
a4736a49f8
feat: migrate to Tailwind CSS v4 ( #7614 )
...
* chore: update deps
* feat: use jsonc/x language
* chore: update eslint 10.0
* fix: no-useless-assignment
* feat: add CLAUDE.md
* chore: ignore
* feat: claude
* fix: lint
* chore: suppot eslint v10
* fix: lint
* fix: lint
* fix: type check
* fix: unit test
* fix: Suggested fix
* fix: unit test
* chore: update stylelint v17
* chore: update all major deps
* fix: echarts console warn
* chore: update vitest v4
* feat: add skills ignores
* chore: update deps
* chore: update deps
* fix: cspell
* chore: update deps
* chore: update tailwindcss v4
* chore: remove postcss config
* fix: no use catalog
* chore: tailwind v4 config
* fix: tailwindcss v4 sort
* feat: use eslint-plugin-better-tailwindcss
* fix: Interference between enforce-consistent-line-wrapping, jsx-curly-brace-presence and Prettier
* fix: Interference between enforce-consistent-line-wrapping, jsx-curly-brace-presence and Prettier
* fix(lint): resolve prettier and better-tailwindcss formatting conflicts
* fix(tailwind): update theme references and lint sources
* style(format): normalize apps docs and playground vue files
* style(format): normalize core ui-kit components
* style(format): normalize effects ui and layout components
2026-03-10 05:08:45 +08:00
YunaiV
1cbdf442ee
feat: 添加 URL 验证工具函数并优化 area-select 组件的类型定义
2026-03-07 17:33:02 +08:00
xingyu4j
722afc85df
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2026-02-11 11:01:44 +08:00
Jin Mao
8a215fbcc7
chore: release 5.6.0
2026-02-09 05:09:57 +08:00
Jin Mao
cb1d7565a3
Merge branch 'fork/ffgenius/antd-vue-next'
2026-02-09 03:09:01 +08:00
Bin
8cadad0a1e
feat(web): add antdv-next model
2026-02-08 23:00:19 +08:00
zhongming4762
331da3c8c7
perf: optimize the closing jump logic of tabs
...
* 依据tab访问历史回退上一个tab,原逻辑是返回一下个 或 上一个
2026-02-04 19:29:33 +08:00
xingyu4j
baed599fcc
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2026-01-26 10:13:23 +08:00
Jin Mao
6aca9a9c99
test(dom): 更新元素可见区域计算的测试用例
...
- 修正了getElementVisibleRect函数的期望值断言
- 将bottom值从800更正为0以匹配实际计算结果
- 将left值从1100更正为0以匹配实际计算结果
- 将right值从1000更正为0以匹配实际计算结果
- 将top值从900更正为0以匹配实际计算结果
2026-01-25 14:22:22 +08:00
Jin Mao
b9224fc379
Merge branch 'main' into fix
2026-01-23 13:48:54 +08:00
橙子
203ee9b623
fix(@vben-core/shared): element outside viewport, the element visible rect each prop expect 0 ( #7120 )
...
* fix(@vben-core/shared): element outside viewport
* fix(@vben-core/shared): element outside viewport
2026-01-22 11:37:01 +08:00
xingyu4j
ce7b7b910a
Merge branch 'main' of https://github.com/xingyu4j/vue-vben-admin into fix
2026-01-04 10:56:14 +08:00
xingyu4j
77cd814c99
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-12-26 14:00:55 +08:00
xueyitt
ccf70a1b76
feat: 修正菜单排序在二级菜单不生效问题 ( #7007 )
...
* treeUtil增加对树形结构数据进行递归排序
* 菜单sort排序各级菜单均生效
2025-12-22 19:57:21 +08:00
xingyu4j
7bf7c0bb06
chore: remove unused deps
2025-12-03 16:26:58 +08:00
xingyu4j
e44f9a0aca
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-11-24 11:47:31 +08:00
YunaiV
37e6775282
feat:【ele】【crm】business 的迁移部分(list、form、detail)
2025-11-18 22:17:29 +08:00
xingyu4j
60854e59f1
feat: use vben/utils upload
2025-11-18 17:33:39 +08:00
xingyu4j
ec23e8acf6
feat: import form vben/utils
2025-11-18 17:29:52 +08:00
xingyu4j
114114fc32
feat: 统一使用 utils
2025-11-18 17:22:12 +08:00
YunaiV
a35485e618
feat:【antd】【ai】chat “附件列表功能”的迁移
2025-11-15 21:25:14 +08:00
Jin Mao
f09aace765
fix: 更新依赖后的表格显示问题
2025-11-14 21:44:32 +08:00
Jin Mao
f918dc24c6
chore(@vben/utils): 移除冗余的 lodash 依赖
2025-11-13 07:47:48 +08:00
Jin Mao
e898993fe8
chore(@vben/utils): 替换 lodash 工具函数为 es-toolkit 实现
2025-11-13 07:45:10 +08:00
Jin Mao
5cafcb4a01
refactor(shared): 替换 lodash 工具函数为 es-toolkit 兼容版本
...
- 将 get 和 isEqual 方法从 lodash 替换为 es-toolkit/compat 导出
- 更新 package.json 添加 es-toolkit 依赖
- 注释掉原有的 lodash.get 和 lodash.isequal 导出语句- 锁定 es-toolkit 版本至1.41.0 并更新相关依赖配置
2025-11-13 07:28:52 +08:00
xingyu4j
a3356a0a5e
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-11-10 09:16:13 +08:00
Jin Mao
a4aa133db5
Merge branch 'main' into tdesign
2025-11-09 12:04:30 +08:00
Utopia
6bbe523f6f
chore: 增强 util-formatDate ts 类型提示 ( #6886 )
...
* feat: 为 auth layout 添加 slot: logo, 提升组件的灵活性和可复用性
* feat: 增强 util-formatDate ts 类型提示
2025-11-09 12:00:49 +08:00
Li Kui
be843300be
chore: update demo routes
2025-11-06 17:44:34 +08:00
xingyu4j
44675a847c
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-11-06 16:50:09 +08:00
Copilot
c7c39047de
feat: add theme-aware logo support via optional sourceDark configuration ( #6866 )
...
* Initial plan
* Initial exploration and setup
Co-authored-by: aonoa <32682251+aonoa@users.noreply.github.com>
* Add support for separate light and dark theme logos
Co-authored-by: aonoa <32682251+aonoa@users.noreply.github.com>
* Update documentation with dark theme logo configuration
Co-authored-by: aonoa <32682251+aonoa@users.noreply.github.com>
* feat: Add theme-aware logo support for authentication/login page
Co-authored-by: aonoa <32682251+aonoa@users.noreply.github.com>
* revert: .npmrc
Signed-off-by: aonoa <1991849113@qq.com>
---------
Signed-off-by: aonoa <1991849113@qq.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: aonoa <32682251+aonoa@users.noreply.github.com>
Co-authored-by: Li Kui <90845831+likui628@users.noreply.github.com>
Co-authored-by: aonoa <1991849113@qq.com>
2025-11-03 13:07:36 +08:00
Jin Mao
f8a7a0a9a2
chore: lint
2025-10-31 09:11:40 +08:00
zhongming4762
639ea96bb9
fix: resolve the issue of logout failure caused by the timezone store
2025-10-30 17:12:45 +08:00