tremble 3 lat temu
rodzic
commit
facf49fb0c
1 zmienionych plików z 4 dodań i 2 usunięć
  1. 4 2
      src/components/RTC/index.vue

+ 4 - 2
src/components/RTC/index.vue

@@ -47,8 +47,6 @@ const confirmDialog = async () => {
   if (socket.value) {
     if (browser.getURLParam("role") == "leader") {
       socket.value.emit("action", { type: "leader-dismiss" });
-    } else{
-      location.reload()
     }
 
     setTimeout(() => {
@@ -72,6 +70,10 @@ const confirmDialog = async () => {
 
   store.commit("showShoppingguide", false);
   dialog.value = "";
+
+  setTimeout(() => {
+    location.reload();
+  }, 100);
 };
 
 const closeCreated = (str, link) => {