|
@@ -41,7 +41,6 @@ watch(() => store.mqtt_message, (val) => {
|
|
|
if (val.type === 'WebRtcConnected') {
|
|
if (val.type === 'WebRtcConnected') {
|
|
|
store.setLoading(false)
|
|
store.setLoading(false)
|
|
|
store.setRtcConnected(true)
|
|
store.setRtcConnected(true)
|
|
|
- logi.init()
|
|
|
|
|
}
|
|
}
|
|
|
// mqtt ERROR
|
|
// mqtt ERROR
|
|
|
if (store.errorDic[val.type]) {
|
|
if (store.errorDic[val.type]) {
|
|
@@ -52,6 +51,8 @@ watch(() => store.mqtt_message, (val) => {
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
|
|
+onMounted(() => logi.init())
|
|
|
|
|
+
|
|
|
provide('MQTT', mqtt)
|
|
provide('MQTT', mqtt)
|
|
|
|
|
|
|
|
</script>
|
|
</script>
|