From 897017be774652374901019268c9c77af0a20db6 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Fri, 4 Dec 2020 10:44:40 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20js?= =?UTF-8?q?on=E7=BB=93=E6=9E=9C=E8=87=AA=E5=8A=A8=E6=A0=BC=E5=BC=8F?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business/components/api/report/components/ResponseText.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/business/components/api/report/components/ResponseText.vue b/frontend/src/business/components/api/report/components/ResponseText.vue index f1f64f40fb..bb2f479d83 100644 --- a/frontend/src/business/components/api/report/components/ResponseText.vue +++ b/frontend/src/business/components/api/report/components/ResponseText.vue @@ -81,7 +81,7 @@ export default { if (!this.response.headers) { return; } - if (this.response.headers.indexOf("Content-Type: application/json") > 0) { + if (this.response.headers.indexOf("application/json") > 0) { this.mode = BODY_FORMAT.JSON; } },