fix(接口测试): 修复请求格式为json时预览错误的缺陷

--bug=1025108 --user=王孝刚 【接口测试】github#23350,CASE 编辑页面,执行完请求后,手动修改预览响应体为
json,再次执行,预览格式有误 https://www.tapd.cn/55049933/s/1359222
This commit is contained in:
wxg0103 2023-04-04 14:28:49 +08:00 committed by wxg0103
parent 5159ad95f0
commit 5bc2d7cec5
1 changed files with 3 additions and 0 deletions

View File

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