Procházet zdrojové kódy

修改bug

修改bug
Sean před 3 měsíci
rodič
revize
0a84b42a5c
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      src/views/chat/hall.vue

+ 2 - 1
src/views/chat/hall.vue

@@ -1465,7 +1465,7 @@ export default {
           //7.如果不存在,则创建单聊
           this.createSession();
         }
-        
+        this.forSearchConversationList();
       }).catch(() => {
         this.$message.error('获取会话列表失败!')
       })
@@ -2486,6 +2486,7 @@ export default {
     //当ws创建成功以后再执行,防止数据未加载
     this.ws.onopen = () => {
       console.log("ws创建成功!");
+      console.log(this.$route.query.friend_id)
       //判断当前路由是否携带friend_id
       if(this.$route.query.friend_id){
         //1.从通讯录进入会话大厅