Skip to content

Commit e2d65b9

Browse files
committed
update: increase vibration feedback after scanned QR code
1 parent 45389f5 commit e2d65b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/pages/login/login.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Page({
2424
wx.scanCode({
2525
success: res => {
2626
if (res.result) {
27+
wx.vibrateShort();
2728
this.fnNetUserLogin(res.result);
2829
}
2930
},
@@ -63,8 +64,8 @@ Page({
6364
wx.setStorageSync('sAccessToken', sAccessToken);
6465
wx.setStorageSync('oUserInfo', res);
6566
wx.navigateBack();
66-
wx.hideNavigationBarLoading();
6767
}
68+
wx.hideNavigationBarLoading();
6869
})
6970
.catch(err => {
7071
wx.hideNavigationBarLoading();

0 commit comments

Comments
 (0)