소스 검색

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

疯狂的狮子Li 4 달 전
부모
커밋
05e7e93cf1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;