添加周期

This commit is contained in:
2026-07-07 10:18:22 +08:00
parent 5044c88946
commit 1a44a2f9e0
19 changed files with 556 additions and 87 deletions

View File

@@ -37,10 +37,10 @@ interface Props {
const props = withDefaults(defineProps<Props>(), {
nextFlag: false,
theCurrentTime: false,
isStatisticData: 1
isStatisticData: 0
})
const isMinuteData = computed(() => Number(props.isStatisticData) === 0)
const isMinuteData = computed(() => Number(props.isStatisticData) === 1)
const pickerType = computed(() => (isMinuteData.value ? 'datetimerange' : 'daterange'))
const pickerValueFormat = computed(() => (isMinuteData.value ? 'YYYY-MM-DD HH:mm:ss' : 'YYYY-MM-DD'))