Your Name 3 年之前
父節點
當前提交
00c7d44a27
共有 1 個文件被更改,包括 9 次插入2 次删除
  1. 9 2
      src/layout/BaseLayout/index.tsx

+ 9 - 2
src/layout/BaseLayout/index.tsx

@@ -266,6 +266,7 @@ export default defineComponent({
             return;
             return;
           }
           }
           commonstore.isclick = true;
           commonstore.isclick = true;
+          var isc = true;
 
 
 
 
        if(window.theSocket){
        if(window.theSocket){
@@ -305,10 +306,16 @@ export default defineComponent({
 
 
 
 
           try{
           try{
-            window.metting.deleteAllMeeting(dothing);
+             window.metting.deleteAllMeeting(()=>{});
           }catch(E){}
           }catch(E){}
 
 
+          dothing();
+
          async function dothing(){
          async function dothing(){
+          
+          if(!isc) return;
+          isc = false;
+            
             await window.metting.getLocalUserInfo();
             await window.metting.getLocalUserInfo();
           const res = await window.metting.queryUser("5269853761765376");
           const res = await window.metting.queryUser("5269853761765376");
 
 
@@ -329,7 +336,7 @@ export default defineComponent({
           window.theSocket&&window.theSocket.createGroupChat(chartParams);
           window.theSocket&&window.theSocket.createGroupChat(chartParams);
         
         
           commonstore.isclick = false;
           commonstore.isclick = false;
-          debugger
+          
 
 
           }
           }