tremble 3 년 전
부모
커밋
facf49fb0c
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  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) => {