From 8116854f74502925f78dfb51e74facdd4fb27d83 Mon Sep 17 00:00:00 2001 From: ferrahit67 Date: Sat, 18 Dec 2021 09:26:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DLATEST=5FPOST=5FID=E8=A2=AB?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E6=9B=B4=E6=96=B0=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Flows.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Flows.js b/src/Flows.js index 9dcd368..6b52848 100644 --- a/src/Flows.js +++ b/src/Flows.js @@ -1257,7 +1257,7 @@ class SubFlow extends PureComponent { .then((json) => { if (page === 1 && json.data.length) { // update latest_post_id - let max_id = -1; + let max_id = LATEST_POST_ID || -1; json.data.forEach((x) => { if (parseInt(x.pid, 10) > max_id) max_id = parseInt(x.pid, 10); }); -- 2.30.3