TimeControl微调
This commit is contained in:
@@ -94,7 +94,7 @@ const emit = defineEmits<{
|
||||
(e: 'update-dates', startDate: string, endDate: string): void;
|
||||
}>()
|
||||
const timeUnit = ref<string>(props.default) // 默认选择
|
||||
const startDate = ref<Date>(new Date(0)) // 起始日期
|
||||
const startDate = ref<Date>(new Date()) // 起始日期
|
||||
const endDate = ref<Date>(new Date()) // 结束日期
|
||||
const isNextDisabled = ref<boolean>(false) // 控制下一周期按钮的禁用状态
|
||||
const today = ref<Date>(new Date()) // 当前日期
|
||||
|
||||
Reference in New Issue
Block a user