Explorar o código

路由重定向

a1140836302 %!s(int64=2) %!d(string=hai) anos
pai
achega
c74d24f9c9
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/router/index.js

+ 1 - 0
src/router/index.js

@@ -6,6 +6,7 @@ Vue.use(Router)
 import Layout from '@/layout'
 
 export const constantRoutes = [
+  { path: '/', redirect: '/power-change-monitoring'},
   {
     path: '/redirect',
     component: Layout,