fix(接口测试): json结果自动格式化
This commit is contained in:
parent
26119e21c7
commit
897017be77
|
@ -81,7 +81,7 @@ export default {
|
||||||
if (!this.response.headers) {
|
if (!this.response.headers) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (this.response.headers.indexOf("Content-Type: application/json") > 0) {
|
if (this.response.headers.indexOf("application/json") > 0) {
|
||||||
this.mode = BODY_FORMAT.JSON;
|
this.mode = BODY_FORMAT.JSON;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue