fix(接口测试): json结果自动格式化

This commit is contained in:
chenjianxing 2020-12-04 10:44:40 +08:00
parent 26119e21c7
commit 897017be77
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
},