Skip to content

Commit 54b9064

Browse files
authored
Update push-uniapp.js
1 parent e349297 commit 54b9064

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/push-uniapp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ function createPresenceChannel(channel_name, push)
195195
uni.onNetworkStatusChange(function (res) {
196196
if(res.isConnected) {
197197
for (var i in Push.instances) {
198-
con = Push.instances[i].connection;
198+
var con = Push.instances[i].connection;
199199
con.reconnectInterval = 1;
200200
if (con.state === 'connecting') {
201201
con.connect();

0 commit comments

Comments
 (0)