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 = () => {
|
||||
showDate.value = false
|
||||
selectValue.value = []
|
||||
currentTime.value = []
|
||||
const { displayType } = config.value
|
||||
const plus = displayType === '7'
|
||||
config.value.selectValue = plus ? [] : undefined
|
||||
selectValue.value = plus ? [] : undefined
|
||||
handleValueChange()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user