Quellcode durchsuchen

处理添加新会话时,没有初始化对话窗口BUG

liling vor 1 Jahr
Ursprung
Commit
e7f9334d44
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 2 0
      src/views/liveChat/index.vue

+ 2 - 0
src/views/liveChat/index.vue

@@ -243,6 +243,8 @@ const changeMsg = async (val,isnew) => {
     // 自己添加的会话人员,默认选中进行对话
     sendCont.data.toId = resInfo.userId;
     headerName.value = resInfo.nickName;
+    clickPersonId.value = resInfo.userId
+    clickPerson(0,searchData.value[0]);
   }else if(searchData.value.length==1){
     sendCont.data.toId = resInfo.userId;
     headerName.value = resInfo.nickName;