feat: useVbenForm 增加 TimeRangePicker(时间区间选择) 组件
This commit is contained in:
parent
a7297e62a3
commit
253c9b5248
@ -4,6 +4,7 @@
|
||||
|
||||
- 流程表达式 follow后端更新
|
||||
- websocket功能(默认关闭)
|
||||
- useVbenForm 增加 TimeRangePicker(时间区间选择) 组件
|
||||
|
||||
**REFACTOR**
|
||||
|
||||
|
||||
@ -73,6 +73,9 @@ const Textarea = defineAsyncComponent(() =>
|
||||
const TimePicker = defineAsyncComponent(
|
||||
() => import('ant-design-vue/es/time-picker'),
|
||||
);
|
||||
const TimeRangePicker = defineAsyncComponent(() =>
|
||||
import('ant-design-vue/es/time-picker').then((res) => res.TimeRangePicker),
|
||||
);
|
||||
const TreeSelect = defineAsyncComponent(
|
||||
() => import('ant-design-vue/es/tree-select'),
|
||||
);
|
||||
@ -153,6 +156,7 @@ export type ComponentType =
|
||||
| 'Switch'
|
||||
| 'Textarea'
|
||||
| 'TimePicker'
|
||||
| 'TimeRangePicker'
|
||||
| 'TreeSelect'
|
||||
| 'Upload'
|
||||
| BaseFormComponentType;
|
||||
@ -222,6 +226,7 @@ async function initComponentAdapter() {
|
||||
Switch,
|
||||
Textarea: withDefaultPlaceholder(Textarea, 'input'),
|
||||
TimePicker,
|
||||
TimeRangePicker,
|
||||
TreeSelect: withDefaultPlaceholder(TreeSelect, 'select'),
|
||||
Upload,
|
||||
ImageUpload,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user