From 0fa32f976cd7160bc74d1a7eb4587479b2c2a81b Mon Sep 17 00:00:00 2001 From: lyswhut Date: Wed, 16 Jun 2021 16:24:39 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E6=97=A5=E5=BF=97=E8=BE=93?= =?UTF-8?q?=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/utils/request.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/utils/request.js b/src/renderer/utils/request.js index 57c2ff83..ebe65ae6 100644 --- a/src/renderer/utils/request.js +++ b/src/renderer/utils/request.js @@ -21,7 +21,7 @@ const request = (url, options, callback) => { options.json = false } options.response_timeout = options.timeout - console.log(options) + return needle.request(options.method || 'get', url, data, options, (err, resp, body) => { if (!err) { body = resp.body = resp.raw.toString()