fix: 【Bug】观看历史界面部分专栏封面不显示 #87

This commit is contained in:
MengNianxiaoyao
2023-12-28 19:48:12 +08:00
parent e1144d0b83
commit 22b2745d84
2 changed files with 2 additions and 1 deletions

View File

@@ -174,7 +174,7 @@ function getHistoryUrl(item: HistoryItem) {
}
function getHistoryItemCover(item: HistoryItem) {
if (item.history.business === 'article') {
if (item.history.business === 'article' || item.history.business === 'article-list') {
if (item.covers)
return removeHttpFromUrl(`${item.covers[0]}`)
}