Merge pull request #6927 from dataease/pr@dev-v2_dzz

Pr@dev v2 dzz
This commit is contained in:
dataeaseShu
2023-11-29 17:59:07 +08:00
committed by GitHub

View File

@@ -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)