+
格式为 {{ fileType.join('/') }} 的文件
diff --git a/src/types/components.d.ts b/src/types/components.d.ts
index 9efecf1c8..8de1f3352 100644
--- a/src/types/components.d.ts
+++ b/src/types/components.d.ts
@@ -37,7 +37,6 @@ export type ColProps = {
export type ComponentOptions = {
label?: string
- type?: string
value?: FormValueType
disabled?: boolean
key?: string | number
diff --git a/src/utils/disposition/tableColumns.ts b/src/utils/disposition/tableColumns.ts
index 0aad4cdd7..e011fc17e 100644
--- a/src/utils/disposition/tableColumns.ts
+++ b/src/utils/disposition/tableColumns.ts
@@ -297,10 +297,9 @@ export const ItemBasic = useCrudSchemas(reactive
([
width: 120
} ,
form: {
- component: 'TimePicker',
+ component: 'DatePicker',
componentProps: {
type: 'datetimerange',
- // disabled:true,
}
}
},
@@ -317,9 +316,10 @@ export const ItemBasic = useCrudSchemas(reactive([
width: 120
} ,
form: {
- component: 'TimePicker',
- // valueFormat: 'YYYY-MM-DD HH:mm:ss',
- // format: 'YYYY-MM-DD HH:mm:ss',
+ component: 'DatePicker',
+ componentProps: {
+ type: 'datetimerange',
+ }
}
},
{