瀏覽代碼

路由重定向

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,