From 453623d716608a90be461a267abfc41ac4b41ced Mon Sep 17 00:00:00 2001 From: mayongjian <13864632865@163.com> Date: Sun, 18 May 2025 12:19:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=9C=AC=E5=9C=B0=E5=AD=98?= =?UTF-8?q?=E5=82=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/index.vue | 52 +++++++++++++++++++++++++++++++++++++++++---- vite.config.ts | 4 ++++ 2 files changed, 52 insertions(+), 4 deletions(-) diff --git a/src/views/index.vue b/src/views/index.vue index 4188d11..16eeeba 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -31,9 +31,53 @@
- - - + + + + + + + + + + + + + + + + + + + + + + + + + + +
@@ -218,7 +262,7 @@ import { CirclePlus, Iphone, Monitor, - Eleme, + DataLine, } from "@element-plus/icons-vue"; import { useRouter, useRoute } from "vue-router"; import Login from "@/views/login.vue"; diff --git a/vite.config.ts b/vite.config.ts index a4089c3..eea1393 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -46,6 +46,10 @@ export default defineConfig({ target: 'http://localhost:8080', changeOrigin: true, rewrite: (p) => p.replace(/^\/dev-api/, '') + }, + '/profile': { + target: 'http://localhost:8080', + changeOrigin: true } } },