From fa5767c12ef5476c827626979f3cf1a285c9bfeb Mon Sep 17 00:00:00 2001 From: 17630416519 Date: Sat, 10 Jan 2026 15:14:20 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E8=97=8F=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 26 +++++++++---------- .../productionDataCollection/index.vue | 3 --- src/views/login.vue | 2 +- 3 files changed, 14 insertions(+), 17 deletions(-) delete mode 100644 src/views/basicData/productionDataCollection/index.vue 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)