Browse Source

修改样式

lex 1 year ago
parent
commit
64c4244c84
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/TUIKit/TUIComponents/container/TUIChat/components/index.vue

+ 3 - 0
src/TUIKit/TUIComponents/container/TUIChat/components/index.vue

@@ -122,12 +122,15 @@ onMounted(async () => {
   // 处理显示tip消息,不显示名称的问题
   if (props.message?.payload?.operatorID && props.message?.payload?.operatorID.indexOf("KT") != -1) {
     const operatorInfo = await TUIServer.getUserProfile([props.message?.payload?.operatorID]);
+    console.log(operatorInfo, "operatorInfo");
     message.value.payload.operatorID = operatorInfo.data[0]?.nick;
 
     if (props.message?.payload?.newGroupProfile?.ownerID) {
       const newOperatorInfo = await TUIServer.getUserProfile([props.message?.payload?.newGroupProfile?.ownerID]);
       message.value.payload.newGroupProfile.ownerID = newOperatorInfo.data[0]?.nick;
     }
+  } else if (props.message?.payload?.operatorID === "mec_admin") {
+    message.value.payload.operatorID = "";
   }
 });