forked from github/dataease
Merge pull request #1486 from dataease/pr@dev@fix_input_search
fix: 文字搜索组件报错
This commit is contained in:
commit
d9a0ce289b
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user