|
|
|
@ -73,9 +73,6 @@ const Textarea = defineAsyncComponent(() =>
|
|
|
|
const TimePicker = defineAsyncComponent(
|
|
|
|
const TimePicker = defineAsyncComponent(
|
|
|
|
() => import('ant-design-vue/es/time-picker'),
|
|
|
|
() => import('ant-design-vue/es/time-picker'),
|
|
|
|
);
|
|
|
|
);
|
|
|
|
const TimeRangePicker = defineAsyncComponent(() =>
|
|
|
|
|
|
|
|
import('ant-design-vue/es/date-picker').then((res) => res.RangePicker),
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
const TreeSelect = defineAsyncComponent(
|
|
|
|
const TreeSelect = defineAsyncComponent(
|
|
|
|
() => import('ant-design-vue/es/tree-select'),
|
|
|
|
() => import('ant-design-vue/es/tree-select'),
|
|
|
|
);
|
|
|
|
);
|
|
|
|
@ -156,7 +153,6 @@ export type ComponentType =
|
|
|
|
| 'Switch'
|
|
|
|
| 'Switch'
|
|
|
|
| 'Textarea'
|
|
|
|
| 'Textarea'
|
|
|
|
| 'TimePicker'
|
|
|
|
| 'TimePicker'
|
|
|
|
| 'TimeRangePicker'
|
|
|
|
|
|
|
|
| 'TreeSelect'
|
|
|
|
| 'TreeSelect'
|
|
|
|
| 'Upload'
|
|
|
|
| 'Upload'
|
|
|
|
| BaseFormComponentType;
|
|
|
|
| BaseFormComponentType;
|
|
|
|
@ -226,7 +222,6 @@ async function initComponentAdapter() {
|
|
|
|
Switch,
|
|
|
|
Switch,
|
|
|
|
Textarea: withDefaultPlaceholder(Textarea, 'input'),
|
|
|
|
Textarea: withDefaultPlaceholder(Textarea, 'input'),
|
|
|
|
TimePicker,
|
|
|
|
TimePicker,
|
|
|
|
TimeRangePicker,
|
|
|
|
|
|
|
|
TreeSelect: withDefaultPlaceholder(TreeSelect, 'select'),
|
|
|
|
TreeSelect: withDefaultPlaceholder(TreeSelect, 'select'),
|
|
|
|
Upload,
|
|
|
|
Upload,
|
|
|
|
ImageUpload,
|
|
|
|
ImageUpload,
|
|
|
|
|