From 752bb4a72b830f347c2a49662e252925219a45f5 Mon Sep 17 00:00:00 2001 From: Tony Date: Tue, 11 Jun 2024 18:10:20 +0800 Subject: [PATCH] fix: BUG --- god-ui/src/router/index.js | 1 + 1 file changed, 1 insertion(+) 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 } }