NEZ-2756 fix: 修改首页topo 图片较少不加载的问题

This commit is contained in:
zhangyu
2023-04-07 15:13:37 +08:00
parent fb110fd083
commit 83fff0a369
5 changed files with 18 additions and 7 deletions

View File

@@ -74,7 +74,6 @@ export default {
offsetX: 0,
offsetY: 0,
moduleId: '',
iconArray: []
}
},
mixins: [topoUtil],
@@ -121,9 +120,6 @@ export default {
// meta2d.on('add', this.appPen) // 添加新画笔·
meta2d.on('click', this.topoClick) // click画笔·
setTopology(this.meta2dId, meta2d)
this.$get('/topology/icon').then(res => {
this.iconArray = [...res.data.list]
})
this.reload()
},
reload () {