refactor(ui): 界面升级与代码规范优化

This commit is contained in:
Ray.Hao
2026-06-18 18:38:12 +08:00
parent 288ea9b43d
commit 14035cfa4d
130 changed files with 7813 additions and 5893 deletions

8
types/router.d.ts vendored
View File

@@ -1,9 +1,9 @@
/**
* Vue Router 类型扩展
*/
import "vue-router";
declare module "vue-router" {
/**
* 项目路由元信息扩展
*/
interface RouteMeta {
title?: string;
icon?: string;
@@ -13,5 +13,7 @@ declare module "vue-router" {
keepAlive?: boolean;
breadcrumb?: boolean;
activeMenu?: string;
params?: Record<string, unknown>;
roles?: string[];
}
}