feat(route): refine category list for thepaper. (#13178)
* feat(route): refine category for thepaper. * Update utils.js
This commit is contained in:
parent
92bc237f63
commit
f641a2ad7c
|
|
@ -52,7 +52,7 @@ module.exports = {
|
|||
title: contentDetail.name || contentDetail.shareName,
|
||||
link: itemUrl,
|
||||
description,
|
||||
category: contentDetail.tagList?.map((t) => t.tag) ?? [],
|
||||
category: (contentDetail.tagList?.map((t) => t.tag) ?? []).concat(contentDetail?.nodeInfo?.name ?? []),
|
||||
pubDate: parseDate(item.pubTimeLong || contentDetail.pubTime || contentDetail.publishTime),
|
||||
author: contentDetail.author || '',
|
||||
media: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue