refactor(projects): 路由声明重构,添加composables,BaseLayout进行中,文件夹规范
This commit is contained in:
17
src/interface/common/system.ts
Normal file
17
src/interface/common/system.ts
Normal file
@ -0,0 +1,17 @@
|
||||
import type { MenuOption } from 'naive-ui';
|
||||
import { EnumLoginModule } from '@/enum';
|
||||
|
||||
/** 菜单项配置 */
|
||||
export type GlobalMenuOption = MenuOption & {
|
||||
routeName: string;
|
||||
routePath: string;
|
||||
};
|
||||
|
||||
/** 登录模块 */
|
||||
export type LoginModuleType = keyof typeof EnumLoginModule;
|
||||
|
||||
/** npm依赖包版本信息 */
|
||||
export interface VersionInfo {
|
||||
name: string;
|
||||
version: string;
|
||||
}
|
||||
Reference in New Issue
Block a user