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