.
This commit is contained in:
parent
deb41b7e27
commit
dabed1ac8b
@ -361,10 +361,14 @@
|
||||
uni.switchTab({
|
||||
url: '/pages/index',
|
||||
success: () => {
|
||||
console.error("链接MQtt");
|
||||
// 如果是手机端,则自动链接MQTT,H5手动链接,防止重复链接
|
||||
// #ifdef APP-PLUS
|
||||
// getApp().mqttLink(userId);
|
||||
getApp().mqttLink(userId);
|
||||
// #endif
|
||||
// 初始化数据
|
||||
getApp().ijs.initData(userId, (land, wo) => {
|
||||
getApp().getWoList(land, wo);
|
||||
});
|
||||
},
|
||||
fail: () => {},
|
||||
complete: () => {}
|
||||
|
Loading…
Reference in New Issue
Block a user