chore: remove dead regions param from wear-check

这个提交包含在:
Guoguo
2026-06-29 05:29:51 -07:00
父节点 f85925ecd1
当前提交 b7b76a675d
+3 -5
查看文件
@@ -4,8 +4,7 @@ Page({
data: {
statusBarHeight: 44,
battery: 0,
connected: false,
regions: 0x1F
connected: false
},
onBack: function () {
@@ -16,12 +15,11 @@ Page({
})
},
onLoad: function (options) {
onLoad: function () {
var app = getApp()
this.setData({
statusBarHeight: app.globalData.statusBarHeight,
connected: ble.isConnected(),
regions: parseInt(options.regions) || 0x1F
connected: ble.isConnected()
})
var device = app.globalData.currentDevice || {}
this.setData({ battery: device.battery || 0 })