forked from github/dataease
fix: 查询组件的动态时间默认值没有随时间推移而自动更新
This commit is contained in:
parent
c50ef171f3
commit
9199a30cc7
@ -100,12 +100,7 @@ export const searchQuery = (queryComponentList, filter, curComponentId, firstLoa
|
||||
displayType,
|
||||
multiple
|
||||
} = item
|
||||
if (
|
||||
timeType === 'dynamic' &&
|
||||
[1, 7].includes(+displayType) &&
|
||||
firstLoad &&
|
||||
!value?.length
|
||||
) {
|
||||
if (timeType === 'dynamic' && [1, 7].includes(+displayType) && firstLoad) {
|
||||
if (+displayType === 1) {
|
||||
selectValue = getDynamicRange(item)
|
||||
item.defaultValue = new Date(selectValue[0])
|
||||
|
Loading…
Reference in New Issue
Block a user