diff --git a/src/views/system/user/components/Retrospect.vue b/src/views/system/user/components/Retrospect.vue index 09426651..43628c0c 100644 --- a/src/views/system/user/components/Retrospect.vue +++ b/src/views/system/user/components/Retrospect.vue @@ -299,11 +299,10 @@ export default { let res = await getUserJoinedTrialList(this.searchData) if (res.IsSuccess) { this.loading = false - res.OtherInfo = res.OtherInfo - ? res.OtherInfo - : Object.keys(this.otherInfo).forEach((key) => { - this.otherInfo[key] = res.OtherInfo[key] - }) + res.OtherInfo = res.OtherInfo ? res.OtherInfo : {} + Object.keys(this.otherInfo).forEach((key) => { + this.otherInfo[key] = res.OtherInfo[key] + }) this.list = res.Result.CurrentPageData this.total = res.Result.TotalCount }