zs 2 년 전
부모
커밋
5be4bffff6
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      store/websocketStore.js

+ 1 - 0
store/websocketStore.js

@@ -67,6 +67,7 @@ const store = new Vuex.Store({
 			commit,
 			dispatch
 		}, url) {
+			dispatch('websocketClose')
 			setTimeout(() => {
 				dispatch('websocketInit', url)
 			}, 3000)