提交 3089a502 authored 作者: fit2cloud-chenyw's avatar fit2cloud-chenyw

fix: 文字搜索组件报错

上级 063edf9f
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
setCondition() { setCondition() {
const param = { const param = {
component: this.element, component: this.element,
value: !this.value ? [] : [this.value], value: !this.value ? [] : Array.isArray(this.value) ? this.value : [this.value],
operator: this.operator operator: this.operator
} }
this.inDraw && this.$store.commit('addViewFilter', param) this.inDraw && this.$store.commit('addViewFilter', param)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论