diff --git a/pages/Bluetooth/Bluetooth.js b/pages/Bluetooth/Bluetooth.js index 0a0f8d6..1ece13b 100644 --- a/pages/Bluetooth/Bluetooth.js +++ b/pages/Bluetooth/Bluetooth.js @@ -1872,6 +1872,7 @@ Page({ deviceId: _this.data.deviceInfo.id, }] WXAPI.bindDeviceSite(data2).then(res2 => { + console.log(data2); if (res2.success) { _this.getdevice() wx.showToast({ diff --git a/pagesA/facepeople/facepeople.js b/pagesA/facepeople/facepeople.js index b70862a..87f4526 100644 --- a/pagesA/facepeople/facepeople.js +++ b/pagesA/facepeople/facepeople.js @@ -270,6 +270,14 @@ Page({ if (res.success) { faceaddIndex = res.data.index serialNumber = res.data.serialNumber + this.setData({ + show2: false + }) + wx.showToast({ + title: '添加人脸凭证成功', + icon: 'none', + duration: 2000 + }) }else{ wx.showToast({ title: res.msg,