chore(deps): update deps

ISSUES CLOSED: \
This commit is contained in:
Soybean
2022-05-19 23:48:06 +08:00
parent 095c432363
commit a70e4161be
4 changed files with 561 additions and 599 deletions

View File

@ -63,7 +63,7 @@ export default function useEcharts(
renderFun?: (chartInstance: echarts.ECharts) => void
) {
let chart: echarts.ECharts | null = null;
const domRef = ref<HTMLElement>();
const domRef = ref<HTMLElement | null>(null);
const initialSize = { width: 0, height: 0 };
const { width, height } = useElementSize(domRef, initialSize);