types: 添加完整路由配置表类型声明

This commit is contained in:
xiaoxian521
2022-08-19 15:03:52 +08:00
parent a8e830f51c
commit 28e58e4b4e
17 changed files with 110 additions and 16 deletions

View File

@@ -12,7 +12,6 @@ export const routerArrays: Array<RouteConfigs> = [
export type routeMetaType = {
title?: string;
i18n?: boolean;
icon?: string;
showLink?: boolean;
savedPosition?: boolean;
@@ -65,7 +64,6 @@ export type childrenType = {
meta?: {
icon?: string;
title?: string;
i18n?: boolean;
showParent?: boolean;
extraIcon?: {
svg?: boolean;