diff --git a/project/fengdu/app/AppDynamic/components/Detail.vue b/project/fengdu/app/AppDynamic/components/Detail.vue index 5bd724ba..e134222b 100644 --- a/project/fengdu/app/AppDynamic/components/Detail.vue +++ b/project/fengdu/app/AppDynamic/components/Detail.vue @@ -61,9 +61,19 @@ this.instance.post(`/app/appcontentinfo/queryDetailById?id=${id}`).then(res => { if (res.code === 0) { this.info = res.data - this.info.pictureUrl = res.data.pictureUrl ? [{ - url: res.data.pictureUrl - }] : [] + this + this.info = { + ...res.data, + pictureUrl: res.data.pictureUrl ? [{ + url: res.data.pictureUrl + }] : [], + files: res.data.files.map(v => { + return { + ...v, + postfix: v.postfix.toLowerCase() + } + }) + } } }) },