From df90aefad664b4ac3bd571b2a1ba495047bb403a Mon Sep 17 00:00:00 2001 From: Ironsp <1522278303@qq.com> Date: Mon, 11 May 2026 17:21:58 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E8=BF=9E=E6=8E=A5ip?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc-auto-import.json | 4 ---- src/views/login.vue | 49 +++++++++++++------------------------- vite.config.ts | 2 +- 3 files changed, 17 insertions(+), 38 deletions(-) diff --git a/.eslintrc-auto-import.json b/.eslintrc-auto-import.json index d979925..2ca3adf 100644 --- a/.eslintrc-auto-import.json +++ b/.eslintrc-auto-import.json @@ -5,10 +5,6 @@ "ComputedRef": true, "DirectiveBinding": true, "EffectScope": true, - "ElLoading": true, - "ElMessage": true, - "ElMessageBox": true, - "ElNotification": true, "ExtractDefaultPropTypes": true, "ExtractPropTypes": true, "ExtractPublicPropTypes": true, diff --git a/src/views/login.vue b/src/views/login.vue index fbba511..2240a61 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -3,21 +3,22 @@
1111
-

{{ title }}

- +

欢迎登录

+

请输入您的账号和密码访问系统

+
- + + - + - {{ proxy.$t('login.rememberPassword') }} + 记住密码 - - - - - - - - - - - - - - - + 忘记密码 @@ -72,10 +59,6 @@
- - @@ -245,13 +228,13 @@ onMounted(() => { } .title-box { - display: flex; - align-items: center; + //display: flex; + //align-items: center; gap: 8px; .title { margin: 0px auto 26px auto; - text-align: center; + //text-align: center; color: var(--el-text-color-primary); font-weight: 600; letter-spacing: 0.5px; @@ -301,10 +284,10 @@ onMounted(() => { box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2); } -.login-form :deep(.el-button--primary) { - border-radius: var(--app-radius-md); - box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25); -} +//.login-form :deep(.el-button--primary) { +// border-radius: var(--app-radius-md); +// box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25); +//} .login-form :deep(.el-button.is-circle) { background: rgba(15, 23, 42, 0.04); diff --git a/vite.config.ts b/vite.config.ts index 070846c..20ab19e 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -24,7 +24,7 @@ export default defineConfig(({ mode, command }) => { open: true, proxy: { [env.VITE_APP_BASE_API]: { - target: 'http://localhost:8080', + target: 'http://192.168.0.214:8089', changeOrigin: true, ws: true, rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')