zs 2 gadi atpakaļ
vecāks
revīzija
fe5be63b0f
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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) {