forked from github/dataease
fix: 【ID1004278】【仪表板】时间过滤组件-日期,选择日期没反应
This commit is contained in:
parent
09d60f7fd9
commit
1c7fde3f5a
@ -35,6 +35,9 @@ export default {
|
||||
},
|
||||
created() {
|
||||
this.options = this.element.options
|
||||
if ((this.options.attrs.type === 'date' || this.options.attrs.type === 'daterange') && Array.isArray(this.options.value) && this.options.value.length === 0) {
|
||||
this.options.value = null
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
search() {
|
||||
|
Loading…
Reference in New Issue
Block a user