forked from github/dataease
Merge pull request #11908 from dataease/pr@dev-v2_st
fix(查询组件): 移动端日期范围组件查询异常 #11756
This commit is contained in:
commit
abaa34b575
@ -364,13 +364,13 @@ const setArrValue = () => {
|
||||
const [start, end] = selectValue.value || []
|
||||
if (selectSecond.value) {
|
||||
selectValue.value = [
|
||||
start,
|
||||
start ? start : new Date(`${currentDate.value.join('/')} ${currentTime.value.join(':')}`),
|
||||
new Date(`${currentDate.value.join('/')} ${currentTime.value.join(':')}`)
|
||||
]
|
||||
} else {
|
||||
selectValue.value = [
|
||||
new Date(`${currentDate.value.join('/')} ${currentTime.value.join(':')}`),
|
||||
end
|
||||
end ? end : new Date(`${currentDate.value.join('/')} ${currentTime.value.join(':')}`)
|
||||
]
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user