代码优化
This commit is contained in:
parent
0277edbe2d
commit
6da92a3154
|
|
@ -8,9 +8,9 @@ VITE_API_URL = '/proxyApi'
|
|||
# VITE_proxyTarget = 'http://10.40.92.74:8080' #盛旭
|
||||
|
||||
# VITE_proxyTarget = 'http://192.168.2.246:28080' # 马帅
|
||||
VITE_proxyTarget = 'http://192.168.2.127:28080' # 梁超
|
||||
# VITE_proxyTarget = 'http://192.168.2.127:28080' # 梁超
|
||||
# VITE_proxyTarget = 'http://36.33.26.201:17788/proxyApi' # 测试服务
|
||||
# VITE_proxyTarget = 'http://192.168.0.244:28580' # 测试服务
|
||||
VITE_proxyTarget = 'http://192.168.0.244:28580' # 测试服务
|
||||
# VITE_proxyTarget = 'http://192.168.2.129:18080' # 马帅j
|
||||
|
||||
# VITE_proxyTarget = 'http://10.40.92.185:9206' # 赵福海 ( 设备类型)
|
||||
|
|
|
|||
|
|
@ -51,8 +51,9 @@ if (userStore.companyList.length === 0) {
|
|||
companyList.value = userStore.companyList
|
||||
}
|
||||
if (userStore.goodsClassList.length === 0) {
|
||||
getGoodsClassList()
|
||||
classList.value = userStore.goodsClassList
|
||||
getGoodsClassList().then(() => {
|
||||
classList.value = userStore.goodsClassList
|
||||
})
|
||||
} else {
|
||||
classList.value = userStore.goodsClassList
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue