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)