From fe82be5f21ab68e476747aca4cc93d16c4a1f07d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B6=85=E7=BA=A7=E8=80=81=E7=99=BD=E5=85=94?= Date: Tue, 23 Sep 2025 16:15:55 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=80=8B=E4=BA=BA=E8=B3=87=E6=96=99?= =?UTF-8?q?=E5=8D=A1=E7=89=87=E9=82=8F=E8=BC=AF=E4=BF=AE=E6=AD=A3):=20?= =?UTF-8?q?=E5=B0=87=E7=BE=A4=E7=AE=A1=E7=90=86=E6=AC=8A=E9=99=90=E5=88=A4?= =?UTF-8?q?=E6=96=B7=E9=82=8F=E8=BC=AF=E4=B8=AD=E7=9A=84wechatId=E6=94=B9?= =?UTF-8?q?=E7=82=BAnickname=EF=BC=8C=E4=BB=A5=E6=AD=A3=E7=A2=BA=E5=8F=8D?= =?UTF-8?q?=E6=98=A0=E7=BE=A4=E4=B8=BB=E7=9A=84=E8=AD=98=E5=88=A5=E6=96=B9?= =?UTF-8?q?=E5=BC=8F=EF=BC=8C=E6=8F=90=E5=8D=87=E5=8A=9F=E8=83=BD=E6=BA=96?= =?UTF-8?q?=E7=A2=BA=E6=80=A7=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/ChatWindow/components/ProfileCard/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Touchkebao/src/pages/pc/ckbox/weChat/components/ChatWindow/components/ProfileCard/index.tsx b/Touchkebao/src/pages/pc/ckbox/weChat/components/ChatWindow/components/ProfileCard/index.tsx index 7fb6b475..9bcc610d 100644 --- a/Touchkebao/src/pages/pc/ckbox/weChat/components/ChatWindow/components/ProfileCard/index.tsx +++ b/Touchkebao/src/pages/pc/ckbox/weChat/components/ChatWindow/components/ProfileCard/index.tsx @@ -233,7 +233,7 @@ const Person: React.FC = ({ const hasGroupManagePermission = () => { if (!kfSelectedUser || !contract) return false; // 当客服的wechatId与contract的chatroomOwner相同时,才有完整的群管理权限 - return kfSelectedUser.wechatId === (contract as any).chatroomOwner; + return kfSelectedUser.nickname === (contract as any).chatroomOwnerNickname; }; // 获取所有可用标签