build(projects): 升级依赖,修复TS类型

This commit is contained in:
Soybean
2022-08-31 22:57:53 +08:00
parent f408ea017c
commit 73ce53a388
5 changed files with 28 additions and 26 deletions

View File

@@ -81,7 +81,7 @@ export function useEcharts(
) {
const theme = useThemeStore();
const domRef = ref<HTMLElement | null>(null);
const domRef = ref<HTMLElement>();
const initialSize = { width: 0, height: 0 };
const { width, height } = useElementSize(domRef, initialSize);