fix(测试跟踪): 修复部分失败用例展示方式和任务中心的不一致的问题

--bug=1020718 --user=宋天阳
【测试跟踪】github#20492,测试计划报告中,case有前后置sql-无数据源时,不显示报告
https://www.tapd.cn/55049933/s/1315656
This commit is contained in:
song-tianyang 2022-12-14 15:07:49 +08:00 committed by 建国
parent 400d5b9e98
commit f1744c6fa1
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ export default {
this.responseLoading = false; this.responseLoading = false;
if (response.data) { if (response.data) {
let data = response.data; let data = response.data;
if (data && data.content) { if (data) {
this.showResponse = true; this.showResponse = true;
try { try {
this.response = JSON.parse(data.content); this.response = JSON.parse(data.content);