forked from github/dataease
fix(仪表板): 修复组件工具栏同时悬浮在不同Tab页的问题
This commit is contained in:
parent
08b90af58c
commit
3c52421b10
@ -202,7 +202,7 @@
|
||||
</el-dialog>
|
||||
|
||||
<text-attr
|
||||
v-if="showAttr && curComponent.canvasId !== 'canvas-main'"
|
||||
v-if="showAttr && curComponent.canvasId === activeCanvasId"
|
||||
:canvas-id="curComponent.canvasId"
|
||||
:scroll-left="scrollLeft"
|
||||
:scroll-top="scrollTop"
|
||||
@ -298,6 +298,9 @@ export default {
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
activeCanvasId() {
|
||||
return this.element.id + '-' + this.activeTabName
|
||||
},
|
||||
maskShow() {
|
||||
return Boolean(this.$store.state.dragComponentInfo)
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user