Commit 4978840e04ec89a04b09a5c6c2f4677e880b2fd3

Authored by zhiyangdu
1 parent 92040f2c

默认加载index

Showing 1 changed file with 4 additions and 0 deletions
src/router/index.js
... ... @@ -28,6 +28,10 @@ const router = new Router({
28 28 }
29 29 }
30 30 ]
  31 + },
  32 + {
  33 + path: "*",
  34 + redirect: "/index"
31 35 }
32 36 ]
33 37 });
... ...