fix: 过滤组件首项禁用后首次手动设置默认项无法正常显示

This commit is contained in:
dataeaseShu 2023-12-18 10:48:34 +08:00
parent 5342593e54
commit 1ac8878dcf

View File

@ -162,8 +162,10 @@ export default {
},
'defaultValueStr': function(value, old) {
if (value === old) return
this.value = this.fillValueDerfault()
this.changeValue(value)
this.$nextTick(() => {
this.value = this.fillValueDerfault()
this.changeValue(value)
})
},
'element.options.attrs.fieldId': function(value, old) {
if (value === null || typeof value === 'undefined' || value === old) return