mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 05:22:13 +08:00
@@ -598,7 +598,6 @@ const relativeToCurrentTypeList = computed(() => {
|
||||
})
|
||||
|
||||
const timeGranularityChange = (val: string) => {
|
||||
if (curComponent.value.timeType !== 'dynamic') return
|
||||
if (
|
||||
['year', 'month', 'date', 'datetime'].indexOf(val) <
|
||||
['year', 'month', 'date'].indexOf(curComponent.value.relativeToCurrentType)
|
||||
|
||||
Reference in New Issue
Block a user