forked from github/dataease
fix(仪表板): 修复无法复用Tab内部组件的问题
This commit is contained in:
parent
762c369eec
commit
d8d701bbf9
@ -88,6 +88,8 @@ export default {
|
||||
component.style.width = width
|
||||
component.style.height = height
|
||||
}
|
||||
component['canvasId'] = 'canvas-main'
|
||||
component['canvasPid'] = '0'
|
||||
state.copyData = {
|
||||
data: component,
|
||||
index: index
|
||||
|
@ -202,7 +202,7 @@
|
||||
</el-dialog>
|
||||
|
||||
<text-attr
|
||||
v-if="showAttr && curComponent.canvasId === activeCanvasId"
|
||||
v-if="showAttr && curComponent.canvasId === activeCanvasId" && isEdit
|
||||
:canvas-id="curComponent.canvasId"
|
||||
:scroll-left="scrollLeft"
|
||||
:scroll-top="scrollTop"
|
||||
|
Loading…
Reference in New Issue
Block a user