添加时间同步

This commit is contained in:
17792275749
2025-06-04 14:25:38 +08:00
parent 68bc3c267e
commit 3070b2b821
3 changed files with 84 additions and 75 deletions
+6 -1
View File
@@ -153,7 +153,12 @@ App({
this.reconnectDevice()
}
wx.hideLoading();
});
});
// 同步时间
this.globalData.ppScale.plugin.bus.subscribe("syncDeviceTimeSuccess", (res) => {
console.log("app.js ===> syncDeviceTimeSuccess", res);
})
// 设备自动断开监听
this.globalData.ppScale.plugin.bus.subscribe("deviceWillDisconnect", (res) => {