diff --git a/http.js b/http.js index 16f6305..6d9ca30 100644 --- a/http.js +++ b/http.js @@ -14,7 +14,7 @@ function get(url, params) { params: params, responseType: 'text' }).then((response) => { - ret.data = response; + ret.data = response.data; resolve(ret); }).catch((error) => { ret.err = error;