From 2784187456b676050b809f98fbd2d4a7f729c3e2 Mon Sep 17 00:00:00 2001 From: zhoujunpeng Date: Tue, 18 Apr 2017 15:04:24 +0800 Subject: [PATCH] =?UTF-8?q?jsonp=E6=B7=BB=E5=8A=A0=E8=AE=BE=E7=BD=AEcharse?= =?UTF-8?q?t=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/http/client/jsonp.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/http/client/jsonp.js b/src/http/client/jsonp.js index 241e7b40..30dfc8c8 100644 --- a/src/http/client/jsonp.js +++ b/src/http/client/jsonp.js @@ -47,6 +47,7 @@ export default function (request) { script.async = true; script.onload = handler; script.onerror = handler; + script.charset = request.jsonpCharset || ''; document.body.appendChild(script); });