v1.2.76 - 首页最新帖子+搜索分页修复
This commit is contained in:
parent
6401fc57ea
commit
7e19e2a55d
|
|
@ -1 +1 @@
|
|||
VERSION=1.2.75
|
||||
VERSION=1.2.76
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ export default function Home() {
|
|||
}).catch(() => {})
|
||||
|
||||
fetch('/api/yichens/posts?limit=20&offset=0').then(res => res.json()).then(data => {
|
||||
setRecentPosts(Array.isArray(data) ? data : [])
|
||||
setRecentPosts(data.posts || data || [])
|
||||
}).catch(() => {})
|
||||
|
||||
// 获取寻配号统计数据
|
||||
|
|
|
|||
Loading…
Reference in New Issue