From 46d9d57e537d20bb84c701213787e5a8a5198c07 Mon Sep 17 00:00:00 2001 From: horizons <1490493387@qq.com> Date: Tue, 11 Oct 2022 23:55:47 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E7=89=88=E6=9C=AC=E5=88=86?= =?UTF-8?q?=E6=94=AF=E5=87=86=E5=A4=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: 88e7b636d7d5ef642ea03f7fb4a95cf7a261a5f5 --- src/views/login/components/SocialSignin.vue | 99 --------------------- src/views/login/index.vue | 18 ---- vite.config.ts | 2 +- 3 files changed, 1 insertion(+), 118 deletions(-) delete mode 100644 src/views/login/components/SocialSignin.vue diff --git a/src/views/login/components/SocialSignin.vue b/src/views/login/components/SocialSignin.vue deleted file mode 100644 index c77de089..00000000 --- a/src/views/login/components/SocialSignin.vue +++ /dev/null @@ -1,99 +0,0 @@ - - - - - diff --git a/src/views/login/index.vue b/src/views/login/index.vue index aa5773c1..6922ddad 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -97,14 +97,6 @@ > {{ $t('login.password') }}: 123456 - - - {{ $t('login.thirdPartyLogin') }} - @@ -112,15 +104,6 @@

{{ $t('login.copyright') }}

{{ $t('login.icp') }}

- - - Can not be simulated on local, so please combine you own business - simulation! ! ! -
-
-
- -
@@ -132,7 +115,6 @@ import { ElForm, ElInput } from 'element-plus'; import router from '@/router'; import LangSelect from '@/components/LangSelect/index.vue'; import SvgIcon from '@/components/SvgIcon/index.vue'; -import SocialSignin from './components/SocialSignin.vue'; // 状态管理依赖 import useStore from '@/store'; diff --git a/vite.config.ts b/vite.config.ts index 316acee9..78a85c6b 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -25,7 +25,7 @@ export default ({ mode }: ConfigEnv): UserConfig => { open: true, // 运行自动打开浏览器 proxy: { [env.VITE_APP_BASE_API]: { - target: 'http://127.0.0.1:9999', + target: 'http://localhost:9999', changeOrigin: true, rewrite: path => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')