Browse Source

perf: redirect

xiaoxian521 3 years ago
parent
commit
b36850f79f
3 changed files with 1 additions and 7 deletions
  1. 0 0
      src/layout/redirect.vue
  2. 1 1
      src/router/modules/remaining.ts
  3. 0 6
      src/views/type.ts

+ 0 - 0
src/views/redirect.vue → src/layout/redirect.vue


+ 1 - 1
src/router/modules/remaining.ts

@@ -27,7 +27,7 @@ const remainingRouter = [
       {
       {
         path: "/redirect/:path(.*)",
         path: "/redirect/:path(.*)",
         name: "redirect",
         name: "redirect",
-        component: () => import("/@/views/redirect.vue")
+        component: () => import("/@/layout/redirect.vue")
       }
       }
     ]
     ]
   }
   }

+ 0 - 6
src/views/type.ts

@@ -1,6 +0,0 @@
-export type infoType = {
-  svg?: string;
-  code?: number;
-  info?: string;
-  accessToken?: string;
-};