From 021187728a1fa3b13fc90abdc352003e5d87965d Mon Sep 17 00:00:00 2001 From: xiaohei <11674173+xiaohei102908@user.noreply.gitee.com> Date: Thu, 9 Nov 2023 18:16:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E4=BA=BA=E8=84=B8=E5=BD=95?= =?UTF-8?q?=E5=85=A5=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/Bluetooth/Bluetooth.js | 1 + pagesA/facepeople/facepeople.js | 8 ++++++++ 2 files changed, 9 insertions(+) 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,