zs hace 2 años
padre
commit
fe5be63b0f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      App.vue

+ 1 - 1
App.vue

@@ -3,7 +3,7 @@
 		onShow() {
 			// 实时通信
 			const that = this;
-			if (that.$store.state.socketTask == null && that.$store.state.IsOpen == false) {
+			if (that.$store.state.socketTask == null) {
 				uni.getStorage({
 					key: 'token',
 					success: function(res) {