mirror of
https://github.com/dataease/dataease.git
synced 2026-05-20 19:48:18 +08:00
fix: 【ID1004278】【仪表板】时间过滤组件-日期,选择日期没反应
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user