NEZ-2905 fix:Project编辑拓扑图时Thumbnail未同步更新
This commit is contained in:
@@ -16,6 +16,9 @@
|
||||
border: none !important;
|
||||
}
|
||||
}
|
||||
.meta2d-chart-hide-header {
|
||||
height: calc(100% - 78px);
|
||||
}
|
||||
.meta2d-project{
|
||||
height: calc(100% - 78px);
|
||||
border: 1px solid;
|
||||
|
||||
@@ -13,7 +13,11 @@
|
||||
@saveChart="saveChart"
|
||||
@getNodesArr="getNodesArr"
|
||||
/>
|
||||
<div class="meta2d-main" :class="isChart ? 'meta2d-chart': 'meta2d-project'" @contextmenu="onContextMenu($event)" style="position: relative" :style="{border: editFlag ? '1px solid' : ''}">
|
||||
<div class="meta2d-main" :class="{
|
||||
'meta2d-chart-hide-header': !showHeader,
|
||||
'meta2d-chart': isChart,
|
||||
'meta2d-project': !isChart
|
||||
}" @contextmenu="onContextMenu($event)" style="position: relative" :style="{border: editFlag ? '1px solid' : ''}">
|
||||
<div v-for="(item,index) in nodesArr" v-if="!editFlag && project"
|
||||
:key="index"
|
||||
v-show="(item.y + offsetY - 48 > -20) && (item.x + item.width/2 + offsetX - 24 > - 20)"
|
||||
|
||||
@@ -277,10 +277,12 @@ export default {
|
||||
undo () { // 撤销
|
||||
getTopology(this.meta2dId).undo()
|
||||
// getTopology(this.meta2dId).inactive()
|
||||
this.showMap()
|
||||
bus.$emit('changeSelectPens', [])
|
||||
},
|
||||
redo () { // 重做
|
||||
getTopology(this.meta2dId).redo()
|
||||
this.showMap()
|
||||
// getTopology(this.meta2dId).render()
|
||||
// getTopology(this.meta2dId).inactive()
|
||||
bus.$emit('changeSelectPens', [])
|
||||
|
||||
Reference in New Issue
Block a user