weapps-plugin-jingtong-verify 1.5.0 → 1.5.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.5.0
2
+ 1.5.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.5.0",
5
+ "version": "1.5.1",
6
6
  "description": "",
7
7
  "main": "sdk.js",
8
8
  "author": "tongyirenzheng",
@@ -365,6 +365,7 @@ Page({
365
365
  if(res.errcode === 0 ) {
366
366
  const { data } = res
367
367
  if(data.times >= 3){
368
+ wx.hideLoading()
368
369
  // 人脸错误次数大于3次,提示
369
370
  this.setData({
370
371
  showToOtherModal: true
@@ -375,6 +376,7 @@ Page({
375
376
  console.log('获取身份证二要素核验结果')
376
377
  console.log(res)
377
378
  if(res.errcode === 0){
379
+ wx.hideLoading()
378
380
  // 可以进行人脸
379
381
  this.faceVerifyIng()
380
382
  } else {
@@ -212,6 +212,7 @@ Page({
212
212
  if (res.errcode === 0){
213
213
  const { data } = res
214
214
  if(data.times >= 3){
215
+ wx.hideLoading()
215
216
  this.setData({
216
217
  showToOtherModal: true
217
218
  })
@@ -220,6 +221,7 @@ Page({
220
221
  console.log(idCardType[formData.cid_type])
221
222
  console.log('来源类型')
222
223
  console.log(source_type)
224
+ wx.hideLoading()
223
225
  if(source_type === '2'){
224
226
  this.forgotVerify()
225
227
  } else {
@@ -227,6 +229,7 @@ Page({
227
229
  }
228
230
  }
229
231
  } else {
232
+ wx.hideLoading()
230
233
  wx.showToast({
231
234
  title: res.timeLimit,
232
235
  icon: 'none',