zs 2 năm trước cách đây
mục cha
commit
5be4bffff6
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      store/websocketStore.js

+ 1 - 0
store/websocketStore.js

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