Merge pull request #7182 from dataease/pr@dev_one_dot_x

fix: 过滤组件首项禁用后首次手动设置默认项无法正常显示
This commit is contained in:
dataeaseShu 2023-12-18 10:52:11 +08:00 committed by GitHub
commit 110c448a90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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