mirror of
https://github.com/dataease/dataease.git
synced 2025-02-26 05:03:00 +08:00
fix(过滤器): 弹框中下拉备选项无法显示
This commit is contained in:
parent
41d089bd69
commit
6b4c9e0f84
@ -270,7 +270,5 @@ export default {
|
|||||||
.select-all {
|
.select-all {
|
||||||
padding: 10px 20px 0 20px;
|
padding: 10px 20px 0 20px;
|
||||||
}
|
}
|
||||||
.coustom-de-select {
|
|
||||||
z-index: 999 !important;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
@ -567,6 +567,7 @@ export default {
|
|||||||
const data = res.data
|
const data = res.data
|
||||||
|
|
||||||
this.viewInfos = data
|
this.viewInfos = data
|
||||||
|
this.updateParentName()
|
||||||
this.childViews.viewInfos = data
|
this.childViews.viewInfos = data
|
||||||
})
|
})
|
||||||
var type = 'TEXT'
|
var type = 'TEXT'
|
||||||
@ -582,6 +583,17 @@ export default {
|
|||||||
this.childViews.datasetParams = data
|
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) {
|
handleNodeClick(data) {
|
||||||
if (data.modelInnerType !== 'group') {
|
if (data.modelInnerType !== 'group') {
|
||||||
this.showFieldData(data)
|
this.showFieldData(data)
|
||||||
|
Loading…
Reference in New Issue
Block a user