6、如何获取发送请求后返回来的Request URL地址
2018-11-21 本文已影响0人
快点赞呀
如请求地址是:train/fac/course/qrcode/download,需要如下地址的话可以这样设置:

1、在data的return中定义location: location.origin
2、使用的时候在地址前加${location}+请求地址

如请求地址是:train/fac/course/qrcode/download,需要如下地址的话可以这样设置:
1、在data的return中定义location: location.origin
2、使用的时候在地址前加${location}+请求地址