From 7e19e2a55d6af27925c5aea78607db73b5d901e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B2=E8=BE=B0=E7=94=9F=E4=BA=A7?= Date: Wed, 8 Apr 2026 23:29:15 +0800 Subject: [PATCH] =?UTF-8?q?v1.2.76=20-=20=E9=A6=96=E9=A1=B5=E6=9C=80?= =?UTF-8?q?=E6=96=B0=E5=B8=96=E5=AD=90+=E6=90=9C=E7=B4=A2=E5=88=86?= =?UTF-8?q?=E9=A1=B5=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VERSION | 2 +- config/VERSION | 2 +- frontend/src/pages/Home.jsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 9ef6466..5f8175f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -VERSION=1.2.75 +VERSION=1.2.76 diff --git a/config/VERSION b/config/VERSION index 9ef6466..5f8175f 100644 --- a/config/VERSION +++ b/config/VERSION @@ -1 +1 @@ -VERSION=1.2.75 +VERSION=1.2.76 diff --git a/frontend/src/pages/Home.jsx b/frontend/src/pages/Home.jsx index 92b283d..96d97c5 100644 --- a/frontend/src/pages/Home.jsx +++ b/frontend/src/pages/Home.jsx @@ -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(() => {}) // 获取寻配号统计数据