feat(projects): 添加常用组件、composables函数

This commit is contained in:
Soybean
2021-12-12 17:28:39 +08:00
parent e755caabf2
commit 230a50a4cf
87 changed files with 5424 additions and 2071 deletions

View File

@ -24,7 +24,7 @@ import { useRouter, useRoute } from 'vue-router';
import { NScrollbar, NMenu } from 'naive-ui';
import type { MenuOption } from 'naive-ui';
import { useThemeStore, useAppStore } from '@/store';
import { useAppTitle } from '@/composables';
import { useAppInfo } from '@/composables';
import { menus } from '@/router';
import type { GlobalMenuOption } from '@/interface';
@ -44,7 +44,7 @@ const route = useRoute();
const theme = useThemeStore();
const app = useAppStore();
const { toggleFixedMixMenu } = useAppStore();
const title = useAppTitle();
const { title } = useAppInfo();
const childMenus = computed(() => {
const children: MenuOption[] = [];