From 8891f36d2dd3e835d20d90213570c0b363321bc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=BF=83=E5=AE=87?= Date: Wed, 14 Jun 2023 15:55:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=9A=E5=91=98=E7=94=B3=E8=AF=B7=E4=BC=98?= =?UTF-8?q?=E5=8C=96cont.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Information/Pages/zoneVIP.jsx | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/src/forge/Information/Pages/zoneVIP.jsx b/src/forge/Information/Pages/zoneVIP.jsx index 2707a6f82..f7bef28d9 100644 --- a/src/forge/Information/Pages/zoneVIP.jsx +++ b/src/forge/Information/Pages/zoneVIP.jsx @@ -52,16 +52,15 @@ function ZoneVIP(props){ } function onOk(e) { - console.log(e) - // applyJoin(id, e).then(res => { - // if (res) { - // showNotification(res.msg) - // setApplyVisible(!applyVisible) - // if (res.code === 200) { - // setMemberStatus(memberStatusEnum.applying) - // } - // } - // }) + applyJoin(id, e).then(res => { + if (res) { + showNotification(res.msg) + setApplyVisible(!applyVisible) + if (res.code === 200) { + setMemberStatus(memberStatusEnum.applying) + } + } + }) } function apply() {