diff --git a/src/router/index.js b/src/router/index.js index 3e10920..58e03ba 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -64,19 +64,19 @@ export const constantRoutes = [ component: () => import('@/views/error/Error'), hidden: true }, - { - path: '', - component: Layout, - redirect: '/index', - children: [ - { - path: '/index', - component: () => import('@/views/index'), - name: 'Index', - meta: { title: '首页', icon: 'index', affix: true, titleKey: 'menu.home' } - } - ] - }, + // { + // path: '', + // component: Layout, + // redirect: '/index', + // children: [ + // { + // path: '/index', + // component: () => import('@/views/index'), + // name: 'Index', + // meta: { title: '首页', icon: 'index', affix: true, titleKey: 'menu.home' } + // } + // ] + // }, { path: '/user', component: Layout, diff --git a/src/views/basicData/productionDataCollection/index.vue b/src/views/basicData/productionDataCollection/index.vue deleted file mode 100644 index 80ab09a..0000000 --- a/src/views/basicData/productionDataCollection/index.vue +++ /dev/null @@ -1,3 +0,0 @@ - \ No newline at end of file diff --git a/src/views/login.vue b/src/views/login.vue index 16d4d66..2cb13c5 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -169,7 +169,7 @@ function handleLogin() { } return acc }, {}) - router.push({ path: redirect.value || '/', query: otherQueryParams }) + router.push({ path: '/system/user', query: otherQueryParams }) }) .catch((error) => { console.error(error)