fix(views): 修改日期选择器的格式为单月显示

- 在 expense-management 模块下的 cost-detail 和 expend-detail 页面中
- 将日期选择器的 format 和 valueFormat 属性从 'MM' 修改为 'M'
- 这个修改使得日期选择器显示单个月份,而不是两位数的月份
This commit is contained in:
dj
2025-08-20 00:02:29 +08:00
parent e1543e05b4
commit 5808145c01
2 changed files with 4 additions and 4 deletions

View File

@@ -47,8 +47,8 @@ const searchConfig = ref([
placeholder: '请选择月份',
clearable: true,
type: 'month',
format: 'MM',
valueFormat: 'MM',
format: 'M',
valueFormat: 'M',
},
colProps: {}
},

View File

@@ -41,8 +41,8 @@ const searchConfig = ref(
placeholder: '请选择月份',
clearable: true,
type: 'month',
format: 'MM',
valueFormat: 'MM',
format: 'M',
valueFormat: 'M',
},
colProps: {}
},