fix: type Component is not assignable to RouteMeta (#4140)

* fix: type `Component` is not assignable to `RouteMeta`

* fix: ci fail
This commit is contained in:
Li Kui
2024-08-13 21:30:14 +08:00
committed by GitHub
parent 738bc456c8
commit 1a4d61cc17
6 changed files with 11 additions and 28 deletions

View File

@@ -31,12 +31,6 @@ const hasChildren = computed(() => {
Reflect.has(menu, 'children') && !!menu.children && menu.children.length > 0
);
});
// function menuIcon(menu: MenuRecordRaw) {
// return props.activePath === menu.path
// ? menu.activeIcon || menu.icon
// : menu.icon;
// }
</script>
<template>