forked from github/dataease
Merge pull request #7182 from dataease/pr@dev_one_dot_x
fix: 过滤组件首项禁用后首次手动设置默认项无法正常显示
This commit is contained in:
commit
110c448a90
@ -162,8 +162,10 @@ export default {
|
|||||||
},
|
},
|
||||||
'defaultValueStr': function(value, old) {
|
'defaultValueStr': function(value, old) {
|
||||||
if (value === old) return
|
if (value === old) return
|
||||||
|
this.$nextTick(() => {
|
||||||
this.value = this.fillValueDerfault()
|
this.value = this.fillValueDerfault()
|
||||||
this.changeValue(value)
|
this.changeValue(value)
|
||||||
|
})
|
||||||
},
|
},
|
||||||
'element.options.attrs.fieldId': function(value, old) {
|
'element.options.attrs.fieldId': function(value, old) {
|
||||||
if (value === null || typeof value === 'undefined' || value === old) return
|
if (value === null || typeof value === 'undefined' || value === old) return
|
||||||
|
Loading…
Reference in New Issue
Block a user