fix:调整最小缩放比例 以及 新增node 不在显示 text
This commit is contained in:
@@ -147,7 +147,7 @@ export default {
|
||||
if (this.isChart) {
|
||||
getTopology(this.meta2dId).fitView(true, this.paddingTop)
|
||||
} else {
|
||||
getTopology(this.meta2dId).centerView()
|
||||
getTopology(this.meta2dId).fitView(true)
|
||||
}
|
||||
getTopology(this.meta2dId).lock(1)
|
||||
this.getNodesArr()
|
||||
@@ -165,7 +165,7 @@ export default {
|
||||
return
|
||||
}
|
||||
if (name && !pen.text) {
|
||||
pen.text = name
|
||||
// pen.text = name
|
||||
}
|
||||
if (pen.data && pen.data.imageId) {
|
||||
const imageInfo = this.iconArray.find(item => item.id === pen.data.imageId)
|
||||
|
||||
Reference in New Issue
Block a user