zhoufanglu commented on issue #15074: URL: https://github.com/apache/echarts/issues/15074#issuecomment-853485193
最后还是暂时使用标记的方法解决了loading的问题,我感觉这样是治标不治本。有没有新的api ```js this.myChart.on('finished', () => { if (this.loading) { //如果还是加载状态,关闭Loading this.$emit('closeLoading') } if (!this.isFirstFinished) { //只有在第一次的时候resize this.isFirstFinished = true setTimeout(() => { this.myChart.resize() }) } }) ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org