fix: 文字搜索组件报错

This commit is contained in:
fit2cloud-chenyw 2021-12-21 11:56:03 +08:00
parent 063edf9f58
commit 3089a502a3

View File

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