From f7f2780e4e64a534d1690767964c50d4178b39c6 Mon Sep 17 00:00:00 2001
From: yezian
Date: Thu, 25 Apr 2024 22:10:02 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=A9=BA=E9=97=B4=E5=8F=91?=
=?UTF-8?q?=E5=B8=96=E5=B0=81=E7=A6=81=E5=8A=9F=E8=83=BD=EF=BC=9B=E4=BC=98?=
=?UTF-8?q?=E5=8C=96=E8=AE=A2=E5=8D=95=E6=9F=A5=E8=AF=A2=E5=B1=95=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/BlockUser/index.jsx | 14 ++++++++++++--
src/pages/OrdersQuerry/index.jsx | 6 +++---
2 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/src/pages/BlockUser/index.jsx b/src/pages/BlockUser/index.jsx
index 4721a1b..4bf03d2 100644
--- a/src/pages/BlockUser/index.jsx
+++ b/src/pages/BlockUser/index.jsx
@@ -42,7 +42,14 @@ const BlockUserContent = (props) => {
title: "封禁内容",
dataIndex: "type",
key: "type",
- render: (data) => {data === 0 && "主播发帖封禁"}
,
+ render: (data) => (
+
+
{data === 0 && "限制广场发帖"}
+
{data === 1 && "限制空间内发布免费帖"}
+
{data === 2 && "限制空间内发布付费帖"}
+
{data === 3 && "限制空间内发帖"}
+
+ ),
},
{
title: "起始时间",
@@ -367,7 +374,10 @@ const BlockUserContent = (props) => {
outline: "none",
}}
>
-
+
+
+
+
{
return (
- {data.coins &&
{data.coins}金币
}
- {data.money &&
¥{data.money / 100}
}
+ {data.coins !== undefined &&
{data.coins}金币
}
+ {data.money !== undefined &&
¥{data.money / 100}
}
);
},
@@ -60,7 +60,7 @@ export default function OrdersQuerry() {
用户id:
{data.user_user_id}
- {data.streamer_user_id && (
+ {data.streamer_user_id !== 0 && (
主播id:
{data.streamer_user_id}