fix: 修复仪表板文字搜索过滤组件bug

This commit is contained in:
fit2cloud-chenyw 2021-06-24 15:07:25 +08:00
parent 0175032138
commit f01bca3315

View File

@ -46,7 +46,7 @@ export default {
setCondition() {
const param = {
component: this.element,
value: [this.options.value],
value: !this.options.value ? [] : Array.isArray(this.options.value) ? this.options.value : [this.options.value],
operator: this.operator
}
this.inDraw && this.$store.commit('addViewFilter', param)