diff --git a/src/layouts/components/Sidebar/SidebarItem.vue b/src/layouts/components/Sidebar/SidebarItem.vue index 9392a6c..94e2805 100644 --- a/src/layouts/components/Sidebar/SidebarItem.vue +++ b/src/layouts/components/Sidebar/SidebarItem.vue @@ -7,16 +7,12 @@ import path from "path-browserify" interface Props { item: RouteRecordRaw - isCollapse?: boolean isTop?: boolean - isFirstLevel?: boolean basePath?: string } const props = withDefaults(defineProps(), { - isCollapse: false, isTop: false, - isFirstLevel: true, basePath: "" }) @@ -60,36 +56,32 @@ const resolvePath = (routePath: string) => {