From 7e295f6d6360c0077724d856044033eca41787ba Mon Sep 17 00:00:00 2001 From: "sean.zhou" Date: Mon, 26 Sep 2022 11:32:40 +0800 Subject: [PATCH] fix mqtt username --- src/pages/page-pilot/pilot-home.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' }