fix(查询组件): 查询组件年不显示

This commit is contained in:
dataeaseShu 2024-01-29 18:35:24 +08:00
parent 33371d5eec
commit 263936e398
2 changed files with 4 additions and 3 deletions

View File

@ -23,7 +23,7 @@ interface SelectConfig {
timeNum: number
relativeToCurrentType: string
around: string
arbitraryTime: string
arbitraryTime: Date
timeGranularity: DatePickType
}

View File

@ -82,10 +82,11 @@ watch(
() => timeConfig.value,
() => {
rendering.value = false
nextTick(() => {
1 setTimeout(() => {
init()
console.log('config', config)
rendering.value = true
})
}, 1000)
},
{
deep: true