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

This commit is contained in:
疯狂的狮子Li 2025-03-03 13:47:52 +08:00
parent f2adc5e5fa
commit 05e7e93cf1

View File

@ -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;