Browse Source

问题修复

intex_online20241205
ljlong_2630 2 months ago
parent
commit
68a8edaa00
  1. 8
      .env.development
  2. 4
      src/common/utils/storage.js

8
.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'

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

Loading…
Cancel
Save