chore: remove dead regions param from wear-check
这个提交包含在:
@@ -4,8 +4,7 @@ Page({
|
|||||||
data: {
|
data: {
|
||||||
statusBarHeight: 44,
|
statusBarHeight: 44,
|
||||||
battery: 0,
|
battery: 0,
|
||||||
connected: false,
|
connected: false
|
||||||
regions: 0x1F
|
|
||||||
},
|
},
|
||||||
|
|
||||||
onBack: function () {
|
onBack: function () {
|
||||||
@@ -16,12 +15,11 @@ Page({
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
onLoad: function (options) {
|
onLoad: function () {
|
||||||
var app = getApp()
|
var app = getApp()
|
||||||
this.setData({
|
this.setData({
|
||||||
statusBarHeight: app.globalData.statusBarHeight,
|
statusBarHeight: app.globalData.statusBarHeight,
|
||||||
connected: ble.isConnected(),
|
connected: ble.isConnected()
|
||||||
regions: parseInt(options.regions) || 0x1F
|
|
||||||
})
|
})
|
||||||
var device = app.globalData.currentDevice || {}
|
var device = app.globalData.currentDevice || {}
|
||||||
this.setData({ battery: device.battery || 0 })
|
this.setData({ battery: device.battery || 0 })
|
||||||
|
|||||||
在新工单中引用
屏蔽一个用户