萤石云对接、温湿度卡片合并、接口更新
This commit is contained in:
@ -106,11 +106,11 @@ const initEventHandleMqtt = (topicUrl) => {
|
||||
console.log("✅ MQTT连接成功");
|
||||
|
||||
// 显示连接成功提示
|
||||
uni.showToast({
|
||||
title: 'MQTT连接成功',
|
||||
icon: 'success',
|
||||
duration: 2000
|
||||
});
|
||||
// uni.showToast({
|
||||
// title: 'MQTT连接成功',
|
||||
// icon: 'success',
|
||||
// duration: 2000
|
||||
// });
|
||||
|
||||
//订阅主题
|
||||
client.subscribe(topicUrl, function(err) {
|
||||
|
||||
Reference in New Issue
Block a user