diff --git a/nezha-fronted/src/components/chart/chart/chartAutotopology.vue b/nezha-fronted/src/components/chart/chart/chartAutotopology.vue index 6c9a11b1f..a85e7c254 100644 --- a/nezha-fronted/src/components/chart/chart/chartAutotopology.vue +++ b/nezha-fronted/src/components/chart/chart/chartAutotopology.vue @@ -134,7 +134,7 @@ export default { }, resize () { 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' : '')) }) } },