소스 검색

路由重定向

a1140836302 2 년 전
부모
커밋
c74d24f9c9
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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,