axios数据请求方式

get请求 get:function () { axios.get("../package1.json",{ params:{ userId:"999" }, headers:{ token:"jack" } }).then(res=>{ this.msg=res.data; }).catch(fu
相关文章
相关标签/搜索