amis
amis copied to clipboard
requestAdaptor 函数中 api只有在post请求中有data属性,get请求没有
get请求没参数么
get请求没参数么
method: "get",
"requestAdaptor": (api) => { // get请求不能对data进行编辑,但是可以先post再改成api.method = "get"
api.data == "undifined"
return api;
}
get 本来就没有 data,改 post