fix:修复 asset页面chart 全屏显示不正常的问题

This commit is contained in:
zhangyu
2020-09-25 17:45:18 +08:00
parent ff7cb3011a
commit c968c4cefc

View File

@@ -97,7 +97,9 @@
width="90%" width="90%"
@close="screenModal = false;screenLegendListMore=[]" @close="screenModal = false;screenLegendListMore=[]"
style="margin-top: 1vh !important;" style="margin-top: 1vh !important;"
@opened="initDialog"> @opened="initDialog"
:modal-append-to-body="false"
>
<el-popover <el-popover
v-if="isError" v-if="isError"
placement="top-start" placement="top-start"
@@ -1718,6 +1720,7 @@
}, },
beforeDestroy() { beforeDestroy() {
this.clearChart(); this.clearChart();
getChart(this.chartIndex).dispose();
}, },
}; };