mirror of
https://github.com/chansee97/nova-admin.git
synced 2025-04-06 03:57:54 +08:00
fix(components): 修复了布局的导入错误
This commit is contained in:
parent
a56b084426
commit
b5c7d0a547
@ -52,6 +52,7 @@ import { h, ref } from 'vue';
|
||||
import { useRouter } from 'vue-router';
|
||||
import { Icon } from '@iconify/vue';
|
||||
import Logo from '../components/logo.vue';
|
||||
import { computed } from 'vue';
|
||||
|
||||
const router = useRouter();
|
||||
const collapsed = ref(false);
|
||||
@ -117,7 +118,7 @@ const menuOptions: MenuOption[] = [
|
||||
],
|
||||
},
|
||||
];
|
||||
import { computed } from 'vue';
|
||||
|
||||
const routes = computed(() => {
|
||||
return router.currentRoute.value.matched.filter((item) => {
|
||||
return item.meta.title;
|
||||
|
Loading…
x
Reference in New Issue
Block a user