fix: 优化代码格式,合并类型声明

This commit is contained in:
xingyu4j
2026-07-13 18:30:19 +08:00
parent 819ddd4ebb
commit 91a2e80be8
8 changed files with 11 additions and 26 deletions

View File

@@ -334,12 +334,7 @@ interface RouteMeta {
* 徽标颜色
*/
badgeVariants?:
| 'default'
| 'destructive'
| 'primary'
| 'success'
| 'warning'
| string;
'default' | 'destructive' | 'primary' | 'success' | 'warning' | string;
/**
* 路由的完整路径作为key默认true
*/