src/router/pathMap.ts @@ -12,6 +12,7 @@ path: String; component: String; redirect?: String; showTitle:boolean; }; const pathArr = window.route;