fix(测试跟踪): 【测试跟踪】测试计划 列表 勾选失败停止 执行后 查看报告, 失败后的接口状态显示不正确 点击会报错
--bug=1013794 --user=宋天阳 【测试跟踪】测试计划 列表 勾选失败停止 执行后 查看报告, 失败后的接口状态显示不正确 点击会报错 https://www.tapd.cn/55049933/s/1173486
This commit is contained in:
parent
da30d2637c
commit
2dd94a3e96
|
@ -204,7 +204,11 @@ export default {
|
||||||
getApiReport(row.id, (data) => {
|
getApiReport(row.id, (data) => {
|
||||||
if (data && data.content) {
|
if (data && data.content) {
|
||||||
this.showResponse = true;
|
this.showResponse = true;
|
||||||
this.response = JSON.parse(data.content);
|
try {
|
||||||
|
this.response = JSON.parse(data.content);
|
||||||
|
} catch (e) {
|
||||||
|
this.response = {};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue