|
|
|
@ -13,7 +13,7 @@ export function getImageUrl(path) {
|
|
|
|
|
export function setImagesUrl(path){
|
|
|
|
|
const local = 'http://47.96.87.25:48080'
|
|
|
|
|
let firstStr=path.substr(0,1);
|
|
|
|
|
console.log(firstStr);
|
|
|
|
|
// console.log(firstStr);
|
|
|
|
|
if(firstStr=="/"){
|
|
|
|
|
return isDev?`${local}${path}`:`${path}`;
|
|
|
|
|
}else{
|
|
|
|
|