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') }