Przeglądaj źródła

图片展现

yxb
skx 1 rok temu
rodzic
commit
48cf3a42a9

+ 5
- 1
subpackage/after-sale/rescind-carId/rescind-carId-select.vue Wyświetl plik

@@ -588,7 +588,11 @@
//替换图片地址
const strReplace = (str : string) => {
return str.replace("http://192.168.101.145:9000", envs[process.env.NODE_ENV].baseUrl);
console.log(str)
let imgUrl = str.replace("http://192.168.101.145:9000", envs[process.env.NODE_ENV].baseUrl);
imgUrl = imgUrl.replace("http://100.64.2.113:9000", envs[process.env.NODE_ENV].baseUrl);
console.log(imgUrl)
return imgUrl;
}
</script>


+ 3
- 1
subpackage/orders/car-release.vue Wyświetl plik

@@ -518,7 +518,9 @@

//替换图片地址
const strReplace = (str : string) => {
return str.replace("http://192.168.101.145:9000", envs[process.env.NODE_ENV].baseUrl);
let imgUrl = str.replace("http://192.168.101.145:9000", envs[process.env.NODE_ENV].baseUrl);
imgUrl = imgUrl.replace("http://100.64.2.113:9000", envs[process.env.NODE_ENV].baseUrl);
return imgUrl;
};
const getGlobalParam=()=>{
const data=getItem('globalParam')

+ 4
- 6
subpackage/orders/opening-account-people.vue Wyświetl plik

@@ -575,11 +575,9 @@
};
//替换图片地址
const strReplace = (str : string) => {
if (envs[process.env.NODE_ENV].baseUrl == "http://192.168.100.63:8087") {
return str.replace('http://192.168.101.145:9000', envs[process.env.NODE_ENV].baseUrl)
} else {
return str.replace('http://100.64.2.113:9000', envs[process.env.NODE_ENV].baseUrl)
}
let imgUrl = str.replace("http://192.168.101.145:9000", envs[process.env.NODE_ENV].baseUrl);
imgUrl = str.replace("http://100.64.2.113:9000", envs[process.env.NODE_ENV].baseUrl);
return imgUrl;
}
const getGlobalParam = () => {
const data = getItem('globalParam')
@@ -620,7 +618,7 @@
} else {
state.isEnableOCRData = true;
}
}
// 通过opneId查询用户信息
const queryUserMsg = () => {

+ 3
- 2
subpackage/orders/opening-account-unit.vue Wyświetl plik

@@ -386,8 +386,9 @@ import {

//替换图片地址
const strReplace = (str: string) => {
// return str.replace('192.168.101.145:9000', '222.85.144.89:19002')
return str.replace('http://192.168.101.145:9000', envs[process.env.NODE_ENV].baseUrl)
let imgUrl = str.replace("http://192.168.101.145:9000", envs[process.env.NODE_ENV].baseUrl);
imgUrl = imgUrl.replace("http://100.64.2.113:9000", envs[process.env.NODE_ENV].baseUrl);
return imgUrl;
}
</script>


Ładowanie…
Anuluj
Zapisz