fix: 修复typescript一些编译报错

This commit is contained in:
郝先瑞 committed 2022-01-19 23:40:25 +08:00
1 parent 16ebb4eb22
commit 9e15f53869
9 files changed
+74 -61

No files matched your search

@@ -53,7 +53,7 @@ const props = defineProps({
}
})
const onlyOneChild = ref({});
const onlyOneChild = ref();
function hasOneShowingChild(children = [] as any, parent: RouteRecordRaw) {
if (!children) {