fix : 时间选择框为月份

This commit is contained in:
2024-06-29 16:39:30 +08:00
parent 54e50de6b1
commit e075eeb0d5
4 changed files with 36 additions and 45 deletions

View File

@@ -119,8 +119,10 @@ const searchConfig = reactive([
prop: 'time',
component: 'el-date-picker',
props: {
placeholder: '请选择时间',
type:'month',
placeholder: '请选择月份',
clearable: true,
format: 'YYYY-MM',
valueFormat: 'YYYY-MM-DD HH:mm:ss',
},
colProps: {}