Merge pull request #1487 from dataease/pr@dev@fix_mult_field_filter

fix: 多字段过滤器
This commit is contained in:
fit2cloud-chenyw
2021-12-21 12:36:39 +08:00
committed by GitHub

View File

@@ -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