如果后台返回不带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
本文标题:url拼接ip地址
本文链接:https://www.haomeiwen.com/subject/kbzsictx.html
网友评论