Quellcode durchsuchen

修复有时候返回是404的bug2

JXDS18FUJT vor 2 Jahren
Ursprung
Commit
3f21eaafcd
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/router/index.ts

+ 1 - 1
src/router/index.ts

@@ -55,7 +55,7 @@ for (const path in modules) {
 const routes: RouteRecordRaw[] = [
   {
     path:'/',
-    component:()=>import('./../views/home/index.vue')
+    redirect:'/home'
   },
   {
     path: '/about',