From c4da5f8fc2feba8078fd0e08efb03e5282525c32 Mon Sep 17 00:00:00 2001 From: liruiqiang <3151805288@qq.com> Date: Thu, 23 Oct 2025 15:14:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E7=89=87=E4=B8=8A=E4=BC=A0=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E7=8E=AF=E5=A2=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 3 +-- .env.production | 2 +- src/views/admin/landingManagement.vue | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.env.development b/.env.development index 4b61a58..5794ede 100644 --- a/.env.development +++ b/.env.development @@ -2,5 +2,4 @@ VITE_APP_ENV=development # 测试环境 API -VITE_API_BASE_URL=https://dbqb.nfdxy.net/activityApi -VITE_API_BASE_IMG_URL=http://39.101.133.168:8828 \ No newline at end of file +VITE_API_BASE_URL=https://dbqb.nfdxy.net/activityApi \ No newline at end of file diff --git a/.env.production b/.env.production index 799ca07..6fce62a 100644 --- a/.env.production +++ b/.env.production @@ -3,4 +3,4 @@ VITE_APP_ENV=production # 生产环境 API VITE_API_BASE_URL=https://your-production-domain.com -VITE_API_BASE_IMG_URL=http://tjapi.hlquant.com \ No newline at end of file +# VITE_API_BASE_IMG_URL=http://tjapi.hlquant.com \ No newline at end of file diff --git a/src/views/admin/landingManagement.vue b/src/views/admin/landingManagement.vue index aab8f98..325775f 100644 --- a/src/views/admin/landingManagement.vue +++ b/src/views/admin/landingManagement.vue @@ -356,7 +356,7 @@ export default { // 提交表单(新增/编辑) async submitForm() { - const API_BASE_URL = import.meta.env.VITE_API_BASE_IMG_URL; + const API_BASE_URL = 'http://39.101.133.168:8828'; this.$refs.formRef.validate( async (valid) => { if (valid) { let landingPageFlag = true