From 4f27a5385071794c09fd5b9420af6be9bdf4e98e Mon Sep 17 00:00:00 2001 From: al Date: Wed, 7 Aug 2024 19:44:56 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=8F=96=E6=B6=88Toast?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/page.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/app/page.js b/app/page.js index 850258f..a4800a8 100644 --- a/app/page.js +++ b/app/page.js @@ -151,11 +151,11 @@ const RecommPostList = forwardRef(({ scrollHeight }, ref) => { }); setLoading(false); if (data.ret == -1) { - Toast.show({ - icon: "fail", - content: data.msg, - position: "top", - }); + // Toast.show({ + // icon: "fail", + // content: data.msg, + // position: "top", + // }); } else { return data.data.recomm_list; } @@ -261,11 +261,11 @@ const FollowPostList = forwardRef(({ scrollHeight }, ref) => { setHasMore(followsResponse.data.more); setLoading(false); if (data.ret == -1) { - Toast.show({ - icon: "fail", - content: data.msg, - position: "top", - }); + // Toast.show({ + // icon: "fail", + // content: data.msg, + // position: "top", + // }); } else { setFollowPostList((old) => [...old, ...followsResponse.data.list]); }