From 822b220a085f5e23b8042d4f61fc9de36667d8c3 Mon Sep 17 00:00:00 2001 From: al Date: Tue, 17 Dec 2024 17:35:42 +0800 Subject: [PATCH] =?UTF-8?q?=E9=99=90=E5=88=B6=E7=A9=BA=E9=97=B4=E6=88=90?= =?UTF-8?q?=E5=91=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/space/setting/[mid]/page.js | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/app/space/setting/[mid]/page.js b/app/space/setting/[mid]/page.js index 103ae08..a547566 100644 --- a/app/space/setting/[mid]/page.js +++ b/app/space/setting/[mid]/page.js @@ -283,20 +283,25 @@ export default function Setting() { )} -
  • -
    router.push("spaceMember?zid=" + streamerInfo.id)} - className="flex justify-between" - > - 空间成员 - -
    - -
  • + {(streamerInfo?.visitor_role === 3 || + streamerInfo?.visitor_role === 1) && ( +
  • +
    + router.push("spaceMember?zid=" + streamerInfo.id) + } + className="flex justify-between" + > + 空间成员 + +
    + +
  • + )} {streamerInfo?.refund_enable === 1 && streamerInfo?.admission_price > 0 && streamerInfo?.visitor_role === 0 && (