Your Name há 3 anos atrás
pai
commit
00c7d44a27
1 ficheiros alterados com 9 adições e 2 exclusões
  1. 9 2
      src/layout/BaseLayout/index.tsx

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

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