From 0e50f5e0ffab142703d65bd3371716e05a31837f Mon Sep 17 00:00:00 2001 From: yezian Date: Wed, 10 Jul 2024 14:18:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- screeens/My/index.jsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/screeens/My/index.jsx b/screeens/My/index.jsx index efcc398..7d5ddc7 100644 --- a/screeens/My/index.jsx +++ b/screeens/My/index.jsx @@ -204,6 +204,7 @@ export default function My({ navigation }) { } ); const _data = await _response.json(); + console.log(_data); if (_data.ret === -1) { Toast.show({ type: "error", @@ -216,8 +217,11 @@ export default function My({ navigation }) { _data.data.basic_status === 0 || _data.data.basic_status === 1 || _data.data.basic_status === 3 - ) + ) { setIsInJoinProgress(true); + return; + } + setIsInJoinProgress(false); } catch (error) { console.error(error); }