fix: 多字段过滤器

This commit is contained in:
fit2cloud-chenyw 2021-12-21 12:35:45 +08:00
parent d9a0ce289b
commit ca0401f115

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