From 965bf5f02393dc02b1129527e49dac1d8d4e2ebd Mon Sep 17 00:00:00 2001 From: chenfang Date: Tue, 16 Apr 2024 11:24:02 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=81=A2=E5=A4=8D=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.development b/.env.development index 4ed0011c4..fdfc9d74e 100644 --- a/.env.development +++ b/.env.development @@ -4,10 +4,10 @@ NODE_ENV=development VITE_DEV=false # 请求路径 -VITE_BASE_URL='http://dev.ccwin-in.com:25300/api' +VITE_BASE_URL='http://localhost:12080' # 上传路径 -VITE_UPLOAD_URL='http://dev.ccwin-in.com:25300/api/admin-api/infra/file/upload' +VITE_UPLOAD_URL='http://localhost:12080/api/admin-api/infra/file/upload' # 接口前缀 VITE_API_BASEPATH=/dev-api From a0976f9bc1d17eab726c889224415990a7f31634 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Tue, 16 Apr 2024 11:29:13 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=B7=BB=E5=8A=A0aa=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/permission.ts | 1 + src/router/modules/remaining.ts | 9 +++++++++ src/views/login/aa.vue | 10 ++++++++++ 3 files changed, 20 insertions(+) create mode 100644 src/views/login/aa.vue diff --git a/src/permission.ts b/src/permission.ts index 0698dc880..24ce89277 100644 --- a/src/permission.ts +++ b/src/permission.ts @@ -15,6 +15,7 @@ const { loadStart, loadDone } = usePageLoading() // 路由不重定向白名单 const whiteList = [ '/login', + '/aa', '/social-login', '/auth-redirect', '/bind', diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index ef71f7952..57c118c66 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -184,6 +184,15 @@ const remainingRouter: AppRouteRecordRaw[] = [ title: t('router.login'), noTagsView: true } + },{ + path: '/aa', + component: () => import('@/views/login/aa.vue'), + name: 'Aa', + meta: { + hidden: true, + title: t('router.login'), + noTagsView: true + } }, { path: '/sso', diff --git a/src/views/login/aa.vue b/src/views/login/aa.vue new file mode 100644 index 000000000..96fb0164d --- /dev/null +++ b/src/views/login/aa.vue @@ -0,0 +1,10 @@ + + + +