一公司人员定位无数据bug修复

5_7_地图同步
liujun 2024-03-28 10:30:05 +08:00
parent ffe9fdd476
commit 8e64a50140
1 changed files with 0 additions and 1 deletions

View File

@ -2499,7 +2499,6 @@ export default {
const { protocol, host, port, endpoint, ...options } = this.connection const { protocol, host, port, endpoint, ...options } = this.connection
const connectUrl = `${protocol}://${host}:${port}${endpoint}` const connectUrl = `${protocol}://${host}:${port}${endpoint}`
this.client = mqtt.connect(connectUrl, options) this.client = mqtt.connect(connectUrl, options)
if (this.client.on) { if (this.client.on) {
this.client.on('connect', () => { this.client.on('connect', () => {
this.connecting = true this.connecting = true