This commit is contained in:
Iruka 2024-12-17 18:57:18 +08:00
parent 522be1cf97
commit f58b299bb6
2 changed files with 840 additions and 155 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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);