diff --git a/nezha-fronted/src/components/chart/chart/chartAutotopology.vue b/nezha-fronted/src/components/chart/chart/chartAutotopology.vue index 70938bf3c..8c58fabfa 100644 --- a/nezha-fronted/src/components/chart/chart/chartAutotopology.vue +++ b/nezha-fronted/src/components/chart/chart/chartAutotopology.vue @@ -135,7 +135,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' : '')) }) } },