Browse Source

用户自动注册

master
xuqm 1 year ago
parent
commit
12615d8de2
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      web/src/src/szyx-push-sdk.js

+ 2
- 2
web/src/src/szyx-push-sdk.js View File

@@ -69,8 +69,8 @@ class SzyxPushClient {
}

onMessage(call) {
let callId = Math.random()
if (this.mapCall.has(callId)) callId = Math.random()
let callId = this.guid()
if (this.mapCall.has(callId)) callId = this.guid()
this.mapCall.set(callId, call)
return callId
}


Loading…
Cancel
Save