fix(查询组件): 查询条件时间范围设置时间筛选范围后,限制单次查询最多3日,但是实际渲染的范围控件上 只限制了向后选择,向前还是能跨越选择很多天 #13533
This commit is contained in:
parent
074e86cef9
commit
3064723543
@ -268,7 +268,13 @@ const disabledDate = val => {
|
||||
.startOf(queryTimeType.value)
|
||||
.valueOf() -
|
||||
1000 <
|
||||
timeStamp
|
||||
timeStamp ||
|
||||
dayjs(startWindowTime.value)
|
||||
.subtract(maximumSingleQuery, queryTimeType.value)
|
||||
.startOf(queryTimeType.value)
|
||||
.valueOf() +
|
||||
1000 >
|
||||
timeStamp
|
||||
}
|
||||
if (intervalType === 'none') {
|
||||
if (dynamicWindow) return isDynamicWindowTime
|
||||
|
||||
Loading…
Reference in New Issue
Block a user