恒通大,褓座 获取真实数据
This commit is contained in:
parent
a0c8d6f7ed
commit
d28e26fa71
|
|
@ -3212,7 +3212,9 @@ function getCurrentAddress() {
|
|||
if(getCurrentAddress().includes('192.168')){
|
||||
console.log('当前环境为开发环境');
|
||||
api.post2('/api/web/getBiData').then(res => {
|
||||
if(res.code === 200){
|
||||
testRes = res;
|
||||
}
|
||||
})
|
||||
}else{
|
||||
console.log('当前环境为生产环境');
|
||||
|
|
|
|||
Loading…
Reference in New Issue