feat: visualize a on-demand log widget (#99)

This commit is contained in:
Fine0830
2022-06-02 20:09:38 +08:00
committed by GitHub
parent 0a746a125b
commit 30069ce825
25 changed files with 1012 additions and 14 deletions

View File

@@ -79,7 +79,11 @@ export function useECharts(
if (!el || !unref(el)) {
return;
}
const { width, height } = el.getBoundingClientRect();
if (!width || !height) {
return;
}
chartInstance = echarts.init(el, t);
const { removeEvent } = useEventListener({
el: window,