Explorar o código

修改图片路径

menchuang hai 1 ano
pai
achega
1bce3b5cb7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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({