NEZ-3266 fix:Dashboard中,在仪表盘解锁状态下修改轮播图图表大小失败

This commit is contained in:
zyh
2023-10-26 10:31:01 +08:00
parent 9800496e9b
commit c954fa03c3

View File

@@ -134,7 +134,7 @@ export default {
}, },
resize () { resize () {
this.allProject.forEach((item, index) => { this.allProject.forEach((item, index) => {
this.$refs['topology' + index][0] && this.$refs['topology' + index][0].topoResize() this.$refs['topology' + index] && this.$refs['topology' + index][0] && this.$refs['topology' + index][0].topoResize('autoTopology' + item.id + (this.isFullscreen ? 'screen' : ''))
}) })
} }
}, },