Merge pull request #6667 from dataease/pr@dev@fix_select_filter
fix: 下拉过滤器选择排序字段后切换选项字段下拉框消失
This commit is contained in:
commit
5c24fee5e2
@ -220,6 +220,7 @@ export default {
|
||||
method = linkMultFieldValues
|
||||
}
|
||||
if (!this.element.options.attrs.fieldId) {
|
||||
this.show = true
|
||||
return
|
||||
}
|
||||
const param = { fieldIds: this.element.options.attrs.fieldId.split(this.separator), sort: this.element.options.attrs.sort }
|
||||
@ -238,6 +239,8 @@ export default {
|
||||
bus.$emit('valid-values-change', true)
|
||||
}).catch(e => {
|
||||
bus.$emit('valid-values-change', false)
|
||||
}).finally(() => {
|
||||
this.show = true
|
||||
}) || (this.element.options.value = '')
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user