From 68a8edaa00e8f59ad0b69835e3cab00f98264b6f Mon Sep 17 00:00:00 2001 From: ljlong_2630 Date: Tue, 26 Nov 2024 10:54:39 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 8 ++++---- src/common/utils/storage.js | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.env.development b/.env.development index 9bf7280a..7d8c9122 100644 --- a/.env.development +++ b/.env.development @@ -1,11 +1,11 @@ -VITE_BASE_URL=http://172.22.32.9:81/api/admin-api -VITE_BASE_URL_IMAGE=http://172.22.32.9:81/admin-api +VITE_BASE_URL=http://localhost:12080/admin-api +VITE_BASE_URL_IMAGE=http://localhost:12080/admin-api # 租户配置 -VITE_TENANT='[{"text":"成都1397","value":2},{"text":"长春2379","value":3}]' +VITE_TENANT='[{"text":"长春1397","value":1},{"text":"成都1397","value":2},{"text":"长春2379","value":3}]' # 是否是测试环境 VITE_isDevelopment=true # 积木报表请求路径 -VITE_JMREPORT_BASE_URL='http://172.22.32.9:90' +VITE_JMREPORT_BASE_URL='http://localhost:12080' diff --git a/src/common/utils/storage.js b/src/common/utils/storage.js index 963984a1..586ec87a 100644 --- a/src/common/utils/storage.js +++ b/src/common/utils/storage.js @@ -10,11 +10,11 @@ const setStorage = (key,value)=>{ // 清除全部本地存储 const clearStorage = ()=>{ - const overPackageRecordPointParams = '' + let overPackageRecordPointParams = '' if( uni.getStorageSync('overPackageRecordPointParams')){ overPackageRecordPointParams = uni.getStorageSync('overPackageRecordPointParams') } - const overPackageJobDetailPointParams = '' + let overPackageJobDetailPointParams = '' if( uni.getStorageSync('overPackageJobDetailPointParams')){ overPackageJobDetailPointParams = uni.getStorageSync('overPackageJobDetailPointParams') } From de4a56aa4961bca6239b9834fcead5ea5217826e Mon Sep 17 00:00:00 2001 From: ljlong_2630 Date: Tue, 26 Nov 2024 11:24:57 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=81=A2=E5=A4=8D=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.env.development b/.env.development index 07d31a59..1b41c7eb 100644 --- a/.env.development +++ b/.env.development @@ -1,14 +1,15 @@ VITE_BASE_URL=http://localhost:12080/admin-api -VITE_BASE_URL_IMAGE=http://localhost:12080/admin-api +#VITE_BASE_URL=http://dev.ccwin-in.com:28051/api/admin-api +# VITE_BASE_URL_IMAGE=http://172.22.32.9:81/admin-api # 租户配置 -VITE_TENANT='[{"text":"长春1397","value":1},{"text":"成都1397","value":2},{"text":"长春2379","value":3}]' +VITE_TENANT='[{"text":"英泰","value":1},{"text":"长春2379","value":3}]' # 是否是测试环境 VITE_isDevelopment=true # 积木报表请求路径 -VITE_JMREPORT_BASE_URL='http://localhost:12080' +VITE_JMREPORT_BASE_URL='http://172.22.32.9:90' # 项目管理模式 批次货/包装 -VITE_MANAGE_MODEL="BY_BATCH" +VITE_MANAGE_MODEL="BY_BATCH" \ No newline at end of file