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

@@ -57,6 +57,7 @@
:querysArray="isPreview.querysArray"
:project="isPreview.currentProject"
:params="isPreview.params"
:iconArray="iconArray"
/>
</div>
</el-dialog>
@@ -620,7 +621,9 @@ export default {
setTimeout(() => {
this.ready = true
}, 300)
this.$get('/topology/icon').then(res => {
this.iconArray = [...res.data.list]
})
this.initEvent()
},
computed: {