소스 검색

修改图片路径

menchuang 1 년 전
부모
커밋
1bce3b5cb7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      main.js

+ 1 - 1
main.js

@@ -16,7 +16,7 @@ Vue.prototype.$HTTP = config.baseUrl
 // 图片使用网络地址
 Vue.prototype.loadImgSrc = function(img) {
 	//项目的地址域名,例如百度
-	return 'http://120.46.210.236/app/images/' + img;
+	return config.baseIconUrl+img;
 }
 
 const app = new Vue({