dev_hjm
hjm 6 years ago
parent f8c7f1eaa2
commit 10a889388e

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

Loading…
Cancel
Save