forked from github/dataease
Merge pull request #1487 from dataease/pr@dev@fix_mult_field_filter
fix: 多字段过滤器
This commit is contained in:
commit
73391ba236
@ -126,7 +126,7 @@ export default {
|
||||
initLoad() {
|
||||
this.value = this.element.options.attrs.multiple ? [] : null
|
||||
if (this.element.options.attrs.fieldId) {
|
||||
multFieldValues(this.element.options.attrs.fieldId.split()).then(res => {
|
||||
multFieldValues(this.element.options.attrs.fieldId.split(',')).then(res => {
|
||||
this.datas = this.optionDatas(res.data)
|
||||
if (this.element.options.attrs.multiple) {
|
||||
this.checkAll = this.value.length === this.datas.length
|
||||
|
Loading…
Reference in New Issue
Block a user