forked from github/dataease
commit
e08d92d1b7
@ -598,7 +598,6 @@ const relativeToCurrentTypeList = computed(() => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
const timeGranularityChange = (val: string) => {
|
const timeGranularityChange = (val: string) => {
|
||||||
if (curComponent.value.timeType !== 'dynamic') return
|
|
||||||
if (
|
if (
|
||||||
['year', 'month', 'date', 'datetime'].indexOf(val) <
|
['year', 'month', 'date', 'datetime'].indexOf(val) <
|
||||||
['year', 'month', 'date'].indexOf(curComponent.value.relativeToCurrentType)
|
['year', 'month', 'date'].indexOf(curComponent.value.relativeToCurrentType)
|
||||||
|
Loading…
Reference in New Issue
Block a user