Browse Source

路由重定向

a1140836302 2 years ago
parent
commit
c74d24f9c9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/router/index.js

+ 1 - 0
src/router/index.js

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