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:
@@ -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>
|
||||
|
Reference in New Issue
Block a user