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: '/',