diff --git a/src/views/newMap/displayNew/demon/runPlanView.vue b/src/views/newMap/displayNew/demon/runPlanView.vue index f4cddd08f..513587c1f 100644 --- a/src/views/newMap/displayNew/demon/runPlanView.vue +++ b/src/views/newMap/displayNew/demon/runPlanView.vue @@ -244,7 +244,7 @@ this.myChart = echarts.init(document.getElementById(this.runPlanId)); if (this.myChart) { this.myChart.setOption(this.option); - this.reSize({ width: this.$store.state.runPlan.width, height: this.$store.state.runPlan.height }); + this.reSize({ width: document.documentElement.clientWidth, height: document.documentElement.clientHeight - 55 }); this.myChart.on('click', this.mouseClick); } resolve(true);