From a7297e62a3e88b686e2cc4a34d69c5278ecfe155 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=B2=E5=A8=9C=E8=B4=9Der?= <15891557205@163.com> Date: Fri, 18 Jul 2025 02:17:11 +0000 Subject: [PATCH] =?UTF-8?q?Revert=20"feat:=20useVbenForm=20=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=20TimeRangePicker(=E6=97=B6=E9=97=B4=E5=8C=BA?= =?UTF-8?q?=E9=97=B4=E9=80=89=E6=8B=A9)=20=E7=BB=84=E4=BB=B6"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 645a9f18f78aeba318b79424318ac4c26c3caf22. --- CHANGELOG.md | 1 - apps/web-antd/src/adapter/component/index.ts | 5 ----- 2 files changed, 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f4a99672..d093432f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,6 @@ - 流程表达式 follow后端更新 - websocket功能(默认关闭) -- useVbenForm 增加 TimeRangePicker(时间区间选择) 组件 **REFACTOR** diff --git a/apps/web-antd/src/adapter/component/index.ts b/apps/web-antd/src/adapter/component/index.ts index cfe2ea3d..14751a21 100644 --- a/apps/web-antd/src/adapter/component/index.ts +++ b/apps/web-antd/src/adapter/component/index.ts @@ -73,9 +73,6 @@ const Textarea = defineAsyncComponent(() => const TimePicker = defineAsyncComponent( () => import('ant-design-vue/es/time-picker'), ); -const TimeRangePicker = defineAsyncComponent(() => - import('ant-design-vue/es/date-picker').then((res) => res.RangePicker), -); const TreeSelect = defineAsyncComponent( () => import('ant-design-vue/es/tree-select'), ); @@ -156,7 +153,6 @@ export type ComponentType = | 'Switch' | 'Textarea' | 'TimePicker' - | 'TimeRangePicker' | 'TreeSelect' | 'Upload' | BaseFormComponentType; @@ -226,7 +222,6 @@ async function initComponentAdapter() { Switch, Textarea: withDefaultPlaceholder(Textarea, 'input'), TimePicker, - TimeRangePicker, TreeSelect: withDefaultPlaceholder(TreeSelect, 'select'), Upload, ImageUpload,