diff --git a/src/pages/page-pilot/pilot-home.vue b/src/pages/page-pilot/pilot-home.vue index 1adb0d9..a897a57 100644 --- a/src/pages/page-pilot/pilot-home.vue +++ b/src/pages/page-pilot/pilot-home.vue @@ -291,7 +291,7 @@ onMounted(() => { // thing const param: ThingParam = { host: res.data.mqtt_addr, - username: res.data.mqtt.username, + username: res.data.mqtt_username, password: res.data.mqtt_password, connectCallback: 'connectCallback' }