Explorar el Código

update 优化 顶部菜单搜索栏为多层级显示

疯狂的狮子Li hace 4 meses
padre
commit
05e7e93cf1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/components/HeaderSearch/index.vue

+ 1 - 1
src/components/HeaderSearch/index.vue

@@ -36,7 +36,7 @@ const show = ref(false);
 const fuse = ref();
 const headerSearchSelectRef = ref<ElSelectInstance>();
 const router = useRouter();
-const routes = computed(() => usePermissionStore().getRoutes());
+const routes = computed(() => usePermissionStore().getDefaultRoutes());
 
 const click = () => {
   show.value = !show.value;