From c811ddedb990577a2eaa7251493457b07fb470c3 Mon Sep 17 00:00:00 2001 From: "2090205686@qq.com" Date: Wed, 11 Jun 2025 16:13:01 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=BB=E7=A8=8B?= =?UTF-8?q?=E5=BA=8F=E5=85=A8=E5=B1=80=E5=8F=98=E9=87=8F=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/.env.development | 1 + main/.env.pre | 3 ++- main/vite.config.js | 7 +++++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/main/.env.development b/main/.env.development index 5413cd1..681745b 100644 --- a/main/.env.development +++ b/main/.env.development @@ -18,3 +18,4 @@ VITE_APP_UPLOAD_API = '/uploadApis' # 内网接口地址 VITE_APP_BASE_URL = 'http://192.168.18.99:8080' VITE_APP_UPLOAD_URL = 'http://192.168.18.99:8080' +VITE_APP_VIST_URL = 'http://192.168.18.99' diff --git a/main/.env.pre b/main/.env.pre index a1ff2ac..c81dd16 100644 --- a/main/.env.pre +++ b/main/.env.pre @@ -11,4 +11,5 @@ VITE_APP_VIST_URL = 'http://localhost' VITE_APP_BASE_API = '/apis' VITE_APP_BASE_URL = '' VITE_APP_UPLOAD_API = '/uploadApis' -VITE_APP_UPLOAD_URL = '' \ No newline at end of file +VITE_APP_UPLOAD_URL = '' +VITE_APP_VIST_URL = 'http://192.168.18.99' \ No newline at end of file diff --git a/main/vite.config.js b/main/vite.config.js index e836ec8..2372b4b 100644 --- a/main/vite.config.js +++ b/main/vite.config.js @@ -21,6 +21,13 @@ export default defineConfig(({ command, mode }) => { target: 'ESNext', outDir: 'dist', minify: 'terser', + rollupOptions: { + output: { + chunkFileNames: `static/js/[name]-${Date.now()}-[hash].js`, + entryFileNames: `static/js/[name]-${Date.now()}-[hash].js`, + assetFileNames: `static/[ext]/[name]-${Date.now()}-[hash].[ext]`, + }, + }, }, server: { host: '0.0.0.0', From 6d39ad73d68e89b7ab4b4852bc5d04afb32ff6ab Mon Sep 17 00:00:00 2001 From: 13713575202 <1345916905@qq.com> Date: Wed, 11 Jun 2025 16:34:15 +0800 Subject: [PATCH 2/2] xiabin --- .../src/views/userCenter/addressList.vue | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/sub-operation-service/src/views/userCenter/addressList.vue b/sub-operation-service/src/views/userCenter/addressList.vue index 4dc775b..bb8459e 100644 --- a/sub-operation-service/src/views/userCenter/addressList.vue +++ b/sub-operation-service/src/views/userCenter/addressList.vue @@ -62,12 +62,16 @@ @selection-change="handleSelectionChange" > @@ -507,6 +511,12 @@ function removeCheckedItems(data) { }