fix(projects): 修复页面滚动行为

This commit is contained in:
Soybean
2021-09-14 19:10:10 +08:00
parent ab77d58e46
commit 57e00e6417
12 changed files with 189 additions and 113 deletions

View File

@ -1,3 +1,4 @@
import type { RouteRecordRaw } from 'vue-router';
import { EnumRoutePath, EnumLoginModule } from '@/enum';
/** 路由描述 */
@ -12,5 +13,8 @@ export interface RouteMeta {
icon?: string;
}
export type CustomRoute = RouteRecordRaw & { meta: RouteMeta };
export type RoutePathKey = keyof typeof EnumRoutePath;
export type LoginModuleType = keyof typeof EnumLoginModule;

View File

@ -1,3 +1,3 @@
export { UserInfo } from './business';
export { ThemeSettings, NavMode, AnimateType } from './theme';
export { RouteMeta, RoutePathKey, LoginModuleType } from './common';
export { CustomRoute, RoutePathKey, LoginModuleType } from './common';