<div class="pie-charts">
<Charts :option="option" :height="height" />
</div>
// 解决办法:pie-charts添加宽高
.pie-charts {
width: 100%;
height: 100%;
}
Can‘t get DOM width or height. Please check dom.clientWidth and dom.clientHeight. Th
于 2023-10-17 10:45:50 首次发布