完善投票编辑模式及收藏/历史列表兜底展示
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user