diff --git a/frontend/src/business/components/track/plan/view/comonents/report/detail/component/ApiCaseFailureResult.vue b/frontend/src/business/components/track/plan/view/comonents/report/detail/component/ApiCaseFailureResult.vue index 604506c5a7..1e216f5e46 100644 --- a/frontend/src/business/components/track/plan/view/comonents/report/detail/component/ApiCaseFailureResult.vue +++ b/frontend/src/business/components/track/plan/view/comonents/report/detail/component/ApiCaseFailureResult.vue @@ -204,7 +204,11 @@ export default { getApiReport(row.id, (data) => { if (data && data.content) { this.showResponse = true; - this.response = JSON.parse(data.content); + try { + this.response = JSON.parse(data.content); + } catch (e) { + this.response = {}; + } } }); }