src/router/pathMap.ts @@ -1,4 +1,3 @@ /** * 配置类型为菜单的路由配置 * name 为组件名,name不能重复,重复可能找不到 @@ -12,6 +11,7 @@ path: String; component: String; redirect?: String; showTitle:boolean; }; const pathArr = window.route;