fix(接口测试): 修复请求格式为json时预览错误的缺陷
--bug=1025108 --user=王孝刚 【接口测试】github#23350,CASE 编辑页面,执行完请求后,手动修改预览响应体为 json,再次执行,预览格式有误 https://www.tapd.cn/55049933/s/1359222
This commit is contained in:
parent
5159ad95f0
commit
5bc2d7cec5
|
@ -170,6 +170,9 @@ export default {
|
|||
this.reqMessages += 'Cookie :' + this.response.cookies + '\n';
|
||||
}
|
||||
this.reqMessages += 'Body:' + '\n' + this.response.body;
|
||||
if (this.mode === BODY_FORMAT.JSON) {
|
||||
this.msCodeReload();
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue