When echarts initializes hiding, width cannot be set :100% cannot prop up the page. You need to dynamically get the corresponding width, set the width, and then initialize echarts

this.fullW=this.$refs.echart.clientWidth;

this.myChart1 = echarts.init(this.$refs.echart1);