Selaa lähdekoodia

style: 代码格式化5

chaooo 2 vuotta sitten
vanhempi
commit
9dd266521e
1 muutettua tiedostoa jossa 2 lisäystä ja 3 poistoa
  1. 2 3
      src/layout/components/Sidebar/SidebarItem.vue

+ 2 - 3
src/layout/components/Sidebar/SidebarItem.vue

@@ -1,7 +1,7 @@
 <script setup lang="ts">
 <script setup lang="ts">
-import { RouteRecordRaw, useRouter } from "vue-router";
+import { useRouter } from "vue-router";
 import path from "path-browserify";
 import path from "path-browserify";
-import { isExternal } from "@/utils/index";
+import { isExternal } from "@/utils";
 import AppLink from "./Link.vue";
 import AppLink from "./Link.vue";
 import SvgIcon from "@/components/SvgIcon/index.vue";
 import SvgIcon from "@/components/SvgIcon/index.vue";
 import { SidebarRoutes } from "@/layout/components/Sidebar/types";
 import { SidebarRoutes } from "@/layout/components/Sidebar/types";
@@ -23,7 +23,6 @@ const props = defineProps({
     required: true,
     required: true,
   },
   },
 });
 });
-//const {item} = props;
 const itemRoute: SidebarRoutes = reactive(props.item);
 const itemRoute: SidebarRoutes = reactive(props.item);
 const onlyOneChild = ref(); // 临时变量,唯一子路由
 const onlyOneChild = ref(); // 临时变量,唯一子路由
 /**
 /**