diff --git a/src/pages/page-pilot/pilot-home.vue b/src/pages/page-pilot/pilot-home.vue index 42416fb..209e215 100644 --- a/src/pages/page-pilot/pilot-home.vue +++ b/src/pages/page-pilot/pilot-home.vue @@ -283,7 +283,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' }