mirror of
https://github.com/dataease/dataease.git
synced 2025-02-24 19:42:56 +08:00
fix: 动态时间切换bug
This commit is contained in:
parent
35b8205855
commit
3fb2921e72
@ -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