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