weapps-plugin-jingtong-verify 1.11.0 → 1.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,2 +1,2 @@
1
1
  # SDK #
2
- 1.11.0
2
+ 1.11.1
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "weapps-plugin-jingtong-verify",
3
3
  "pluginName": "weapps-plugin-jingtong-verify",
4
4
  "pluginType": "mp",
5
- "version": "1.11.0",
5
+ "version": "1.11.1",
6
6
  "description": "",
7
7
  "main": "sdk.js",
8
8
  "author": "tongyirenzheng",
@@ -396,8 +396,8 @@ Page({
396
396
  // return
397
397
  // }
398
398
 
399
- // if (count && times < 3) {
400
- if (count && times < 1) {
399
+ if (count && times < 3) {
400
+ // if (count && times < 1) {
401
401
  this.setData({
402
402
  showFaceModal: false,
403
403
  showLockFaceModal: false,
@@ -405,10 +405,10 @@ Page({
405
405
  })
406
406
  }
407
407
 
408
- // if (count && 3 <= times && times <= 5) {
409
- if (count && times === 1) {
410
- // console.log('==============累计刷脸失败超过3次,小于6次===============')
411
- console.log('==============刷脸失败1次===============')
408
+ if (count && 3 <= times && times <= 5) {
409
+ // if (count && times === 1) {
410
+ console.log('==============累计刷脸失败超过3次,小于6次===============')
411
+ // console.log('==============刷脸失败1次===============')
412
412
  this.setData({
413
413
  showFaceModal: true,
414
414
  // showFaceModalTimes: times
@@ -416,8 +416,8 @@ Page({
416
416
  })
417
417
  }
418
418
 
419
- // if (count && times >= 6) {
420
- if (times >= 2) {
419
+ if (count && times >= 6) {
420
+ // if (times >= 2) {
421
421
  console.log('==============累计刷脸失败达到6次===============')
422
422
  wx.hideLoading()
423
423
  this.setData({