We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ce3537 commit 474dfffCopy full SHA for 474dfff
src/push-uniapp.js
@@ -83,7 +83,7 @@ Push.prototype.createConnection = function () {
83
}
84
if (event === 'pusher:connection_established') {
85
_this.connection.socket_id = data.socket_id;
86
- _this.connection.state = 'connected';
+ _this.connection.updateNetworkState('connected');
87
_this.subscribeAll();
88
89
if (event.indexOf('pusher_internal') !== -1) {
0 commit comments