fix(测试跟踪): 【测试跟踪】测试计划 列表 勾选失败停止 执行后 查看报告, 失败后的接口状态显示不正确 点击会报错

--bug=1013794 --user=宋天阳 【测试跟踪】测试计划 列表 勾选失败停止 执行后 查看报告, 失败后的接口状态显示不正确
点击会报错 https://www.tapd.cn/55049933/s/1173486
This commit is contained in:
song-tianyang 2022-06-06 11:09:52 +08:00 committed by f2c-ci-robot[bot]
parent da30d2637c
commit 2dd94a3e96
1 changed files with 5 additions and 1 deletions

View File

@ -204,7 +204,11 @@ export default {
getApiReport(row.id, (data) => {
if (data && data.content) {
this.showResponse = true;
try {
this.response = JSON.parse(data.content);
} catch (e) {
this.response = {};
}
}
});
}