diff --git a/god-ui/src/router/index.js b/god-ui/src/router/index.js index ebc7045d..4e887009 100644 --- a/god-ui/src/router/index.js +++ b/god-ui/src/router/index.js @@ -139,6 +139,7 @@ export const constantRoutes = [ { path: 'index', component: () => import('@/views/index'), + redirect: window.location.port === '9405' ? '/template/templateInfo' : false, name: 'Index', meta: { title: indexPageName, icon: 'dashboard', affix: true } }