From 57c47ef680615b4728bf5e2b21565f75353a2328 Mon Sep 17 00:00:00 2001 From: chenJinxu <2183691628@qq.com> Date: Tue, 14 May 2024 14:49:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E8=93=9D=E7=89=99?= =?UTF-8?q?=E8=AE=BE=E5=A4=87=E5=88=97=E8=A1=A8=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- miniprogram/pages/bluetooth/bluetooth.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/miniprogram/pages/bluetooth/bluetooth.js b/miniprogram/pages/bluetooth/bluetooth.js index 964198b..627b157 100644 --- a/miniprogram/pages/bluetooth/bluetooth.js +++ b/miniprogram/pages/bluetooth/bluetooth.js @@ -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',