|
@@ -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 = "";
|
|
|
}
|
|
|
});
|
|
|
|