Browse Source

fix mqtt username

v1.2.0
sean.zhou 2 years ago
parent
commit
7e295f6d63
  1. 2
      src/pages/page-pilot/pilot-home.vue

2
src/pages/page-pilot/pilot-home.vue

@ -285,7 +285,7 @@ onMounted(() => {
// thing // thing
const param: ThingParam = { const param: ThingParam = {
host: res.data.mqtt_addr, host: res.data.mqtt_addr,
username: username.value, username: res.data.mqtt_username,
password: res.data.mqtt_password, password: res.data.mqtt_password,
connectCallback: 'connectCallback' connectCallback: 'connectCallback'
} }

Loading…
Cancel
Save