完善投票编辑模式及收藏/历史列表兜底展示

This commit is contained in:
2026-08-06 00:12:23 +08:00
parent 315bc474d6
commit 7257f09df0
4 changed files with 48 additions and 25 deletions
@@ -138,9 +138,6 @@
if (data.length <= 0) return
if (data[0].article_id) {
const tempListData = data.map(item => {
if (item.article_id[0] && typeof item.article_id[0].thumbnail === 'string') {
item.article_id[0].thumbnail = [item.article_id[0].thumbnail]
}
item.article_id[0].user_id = item.user_id[0]
item.article_id[0].last_view_time = new Date(item.last_view_time).getTime()
return item.article_id[0]