只有普通用户可以退款空间

This commit is contained in:
yezian 2024-04-23 17:11:59 +08:00
parent cd8f4f9d7b
commit 4ded08c3cd
1 changed files with 5 additions and 3 deletions

View File

@ -177,9 +177,11 @@ export default function SelectSpaceSettingItem({ navigation, route, data }) {
{data?.visitor_role === 3 && (
<SettingItem title="空间成员" to="SpaceMember" />
)}
{data?.refund_enable === 1 && data?.admission_price > 0 && (
<SettingItem title="申请退款" to="SpaceRefund" />
)}
{data?.refund_enable === 1 &&
data?.admission_price > 0 &&
data?.visitor_role === 0 && (
<SettingItem title="申请退款" to="SpaceRefund" />
)}
{data?.visitor_role === 0 && (
<>
<TouchableOpacity