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
commit e08d92d1b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)