.
This commit is contained in:
parent
522be1cf97
commit
f58b299bb6
File diff suppressed because it is too large
Load Diff
@ -539,10 +539,14 @@
|
||||
onLoad() {
|
||||
console.error("onLoad")
|
||||
// 监听mqtt链接状态
|
||||
uni.$off("mqtt-connected");
|
||||
// uni.$off("mqtt-connected");
|
||||
uni.$on("mqtt-connected", (e) => {
|
||||
this.mqttConnected = e;
|
||||
});
|
||||
// 监听地块改变
|
||||
uni.$on("update-land-index", (e) => {
|
||||
console.error("update-land-index:", e);
|
||||
});
|
||||
|
||||
this.ijs.initData(this.user.userId, (land, wo) => {
|
||||
getApp().getWoList(land, wo);
|
||||
|
Loading…
Reference in New Issue
Block a user