|
@@ -24,7 +24,6 @@ export default function (ori) {
|
|
|
if (method === "GET") url += getdata(ori.data || {});
|
|
|
xhttp.open(method, url, true);
|
|
|
xhttp.setRequestHeader("Content-type", "application/json");
|
|
|
- console.log(ori.data)
|
|
|
method === "GET" ? xhttp.send() : xhttp.send(JSON.stringify(ori.data));
|
|
|
xhttp.onreadystatechange = function () {
|
|
|
if (this.readyState != 4) return;
|