@@ -3,11 +3,11 @@ const plugin = requirePlugin('ppScale-plugin') | |||
var app = getApp(); | |||
Page({ | |||
data: { | |||
deviceslist: [{ | |||
deviceslist: [/* { | |||
name: "LFSmart Scale", | |||
deviceId: "CF:E6:16:22:82:28" | |||
}], | |||
} */], | |||
}, | |||
onHide() { | |||
@@ -62,9 +62,9 @@ Page({ | |||
}, | |||
initBlue() { | |||
let that = this; | |||
/* that.setData({ | |||
that.setData({ | |||
deviceslist: '' | |||
}) */ | |||
}) | |||
console.log("初始化蓝牙"); | |||
wx.openBluetoothAdapter({ | |||
mode: 'peripheral', | |||