|
@@ -29,10 +29,10 @@ async function getReportInfo() {
|
|
|
reportId: reportId
|
|
|
})
|
|
|
if (res.Ret === 200&&res.ErrCode===0) {
|
|
|
- const {author,publishedTime,pdfUrl,title,abstract} = res.data
|
|
|
+ const {author,publishedTime,pdfUrl,title,abstract,authorInfo} = res.data
|
|
|
reportInfo.value = {
|
|
|
Author:author,
|
|
|
- AuthorImg:'',
|
|
|
+ AuthorImg:authorInfo?.length>1?'':authorInfo[0].headImgUrl,
|
|
|
IsFollowed:false,
|
|
|
PublishTime:publishedTime,
|
|
|
Abstract:abstract,
|