修改驾驶舱时间问题

This commit is contained in:
guanj
2025-12-08 13:30:46 +08:00
parent 51a0ae49a9
commit a77db278ac
23 changed files with 67 additions and 70 deletions

View File

@@ -90,7 +90,7 @@ interface Props {
showReset?: boolean //是否显示重置
showExport?: boolean //导出控制
timeCacheFlag?: boolean //是否取缓存时间
timeKeyList?: Array<string> //日期下拉列表
timeKeyList?: string[] //日期下拉列表
}
const props = withDefaults(defineProps<Props>(), {
@@ -102,7 +102,7 @@ const props = withDefaults(defineProps<Props>(), {
showReset: true,
showExport: false,
timeCacheFlag: true,
timeKeyList: () => [] // 修改为箭头函数返回空数组
timeKeyList: () => ['1', '2', '3', '4', '5'] // 修改为箭头函数返回空数组
})
// 处理 DatePicker 值变化事件