修改 云南测试问题

This commit is contained in:
guanj
2025-07-30 15:17:28 +08:00
parent f34f38ef14
commit ba1cee110a
14 changed files with 6037 additions and 5323 deletions

View File

@@ -52,7 +52,10 @@ class MQTT {
}
try {
const mqttUrl = localStorage.getItem('MqttUrl') || 'ws://192.168.1.68:8083/mqtt'
const mqttUrl =
localStorage.getItem('MqttUrl') == 'null'
? 'ws://192.168.1.68:8083/mqtt'
: localStorage.getItem('MqttUrl')
this.client = mqtt.connect(mqttUrl, this.defaultOptions as IClientOptions)
this.setupEventListeners()