feat(projects): 迁移多页签

This commit is contained in:
Soybean
2022-01-20 00:56:59 +08:00
parent cc290accc2
commit 28efbdbc70
26 changed files with 868 additions and 20 deletions

View File

@@ -1,3 +1,5 @@
export interface ExposeLayoutMixMenu {
resetFirstDegreeMenus(): void;
import BScroll from '@better-scroll/core';
export interface ExposeBetterScroll {
instance: BScroll;
}

View File

@@ -1,4 +1,5 @@
import type { VNodeChild } from 'vue';
import type { RouteLocationNormalizedLoaded } from 'vue-router';
import type { DropdownOption } from 'naive-ui';
/** 菜单项配置 */
@@ -20,3 +21,6 @@ export type GlobalBreadcrumb = DropdownOption & {
hasChildren: boolean;
children?: GlobalBreadcrumb[];
};
/** 多页签Tab的路由 */
export type GlobalTabRoute = Pick<RouteLocationNormalizedLoaded, 'name' | 'path' | 'meta'>;