mirror of
https://github.com/dataease/dataease.git
synced 2025-02-24 03:22:56 +08:00
fix(移动端): 移动端使用时间过滤组件选中日期后无法清空
This commit is contained in:
parent
ff4b8224b1
commit
605d3bca05
@ -408,8 +408,10 @@ const setArrValue = () => {
|
|||||||
|
|
||||||
const onClear = () => {
|
const onClear = () => {
|
||||||
showDate.value = false
|
showDate.value = false
|
||||||
selectValue.value = []
|
const { displayType } = config.value
|
||||||
currentTime.value = []
|
const plus = displayType === '7'
|
||||||
|
config.value.selectValue = plus ? [] : undefined
|
||||||
|
selectValue.value = plus ? [] : undefined
|
||||||
handleValueChange()
|
handleValueChange()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user