url拼接ip地址
2019-11-15 本文已影响0人
布呐呐aa
如果后台返回不带ip地址的url链接用baseurl拼接
$api.getBaseUrl() + this.newsObject.videoImgUrl
this.fileUrl= this.GLOBAL_SERVICE+ '/'+ this.newsObject.videoUrl
this.posterUrl= this.GLOBAL_SERVICE+ this.newsObject.videoImgUrl
如果后台返回不带ip地址的url链接用baseurl拼接
$api.getBaseUrl() + this.newsObject.videoImgUrl
this.fileUrl= this.GLOBAL_SERVICE+ '/'+ this.newsObject.videoUrl
this.posterUrl= this.GLOBAL_SERVICE+ this.newsObject.videoImgUrl