chore: remove dead regions param from wear-check
这个提交包含在:
@@ -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 })
|
||||
|
||||
在新工单中引用
屏蔽一个用户