From 9ff4867a4e6bb14a0ec3ba25ff40eb789526163e Mon Sep 17 00:00:00 2001 From: mizhexiaoxiao <1157861072@qq.com> Date: Mon, 17 Jun 2024 18:12:18 +0800 Subject: [PATCH] fix --- web/src/router/routes/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/src/router/routes/index.js b/web/src/router/routes/index.js index aa73811..8680283 100644 --- a/web/src/router/routes/index.js +++ b/web/src/router/routes/index.js @@ -4,6 +4,10 @@ const { t } = i18n.global const Layout = () => import('@/layout/index.vue') export const basicRoutes = [ + { + path: '/', + redirect: '/workbench', // 默认跳转到首页 + }, { name: t('views.workbench.label_workbench'), path: '/',