From 15e88541bf4d3aa3d5051824902b58044b4f867e Mon Sep 17 00:00:00 2001 From: lzq <2495532633@qq.com> Date: Thu, 18 Dec 2025 11:11:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=97=E5=85=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/sys/dict/DictCategory.vue | 2 +- src/pages/sys/dict/DictItem.vue | 2 +- vite.config.ts | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pages/sys/dict/DictCategory.vue b/src/pages/sys/dict/DictCategory.vue index 5fba1c7..c97b4c6 100644 --- a/src/pages/sys/dict/DictCategory.vue +++ b/src/pages/sys/dict/DictCategory.vue @@ -21,7 +21,7 @@ empty-text="暂无数据" header-row-class-name="table-header" row-key="id"> - + diff --git a/src/pages/sys/dict/DictItem.vue b/src/pages/sys/dict/DictItem.vue index 0194530..f5c9312 100644 --- a/src/pages/sys/dict/DictItem.vue +++ b/src/pages/sys/dict/DictItem.vue @@ -29,7 +29,7 @@ row-key="id"> - + diff --git a/vite.config.ts b/vite.config.ts index 19b66d1..5edd080 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -65,6 +65,8 @@ export default defineConfig((configEnv) => { [env.VITE_HTTP_SERVER_BASE_URL]: { proxyTimeout: 10000, target: env.VITE_HTTP_PROXY_TARGET, + secure: false, + changeOrigin: true, rewrite: path => env.VITE_HTTP_SERVER_BASE_URL == null || env.VITE_HTTP_SERVER_BASE_URL == '/' ? path : path.replace(new RegExp(env.VITE_HTTP_SERVER_BASE_URL), ''), } as ProxyOptions, [env.VITE_WS_SERVER_BASE_URL]: {