forked from github/dataease
Merge pull request #4865 from dataease/pr@dev@fix_filter
fix(过滤器): 弹框中下拉备选项无法显示
This commit is contained in:
commit
29f4b0d815
@ -270,7 +270,5 @@ export default {
|
||||
.select-all {
|
||||
padding: 10px 20px 0 20px;
|
||||
}
|
||||
.coustom-de-select {
|
||||
z-index: 999 !important;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
@ -567,6 +567,7 @@ export default {
|
||||
const data = res.data
|
||||
|
||||
this.viewInfos = data
|
||||
this.updateParentName()
|
||||
this.childViews.viewInfos = data
|
||||
})
|
||||
var type = 'TEXT'
|
||||
@ -582,6 +583,17 @@ export default {
|
||||
this.childViews.datasetParams = data
|
||||
})
|
||||
},
|
||||
updateParentName() {
|
||||
if (this.fieldsParent && this.viewInfos?.length && this.activeName !== 'dataset') {
|
||||
this.viewInfos.forEach(info => {
|
||||
if (info.id === this.fieldsParent.id && info.name !== this.fieldsParent.name) {
|
||||
this.fieldsParent.name = info.name
|
||||
this.comBackLink(this.fieldsParent)
|
||||
this.comShowFieldData(this.fieldsParent)
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
handleNodeClick(data) {
|
||||
if (data.modelInnerType !== 'group') {
|
||||
this.showFieldData(data)
|
||||
|
Loading…
Reference in New Issue
Block a user