echarts 弹窗中二次进入页面不显示

报错信息:vue Ehcarts There is a chart instance already initialized on the dom.
试了往上的几种方式都不行,

最后发现是modal 页面退出时候没有清除掉,
<a-modal v-model="visible" title="" :footer="null" :destroyOnClose="true">
加上这个属性即可!使用的框架是ant design vue
厚积薄发,笨鸟先飞。
原文地址:https://www.cnblogs.com/wupeng88/p/15406326.html