zs 2 年之前
父节点
当前提交
fe5be63b0f
共有 1 个文件被更改,包括 1 次插入1 次删除
  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) {