weapps-plugin-jingtong-verify 1.4.3 → 1.4.4

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.4.2
2
+ 1.4.4
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.4.3",
5
+ "version": "1.4.4",
6
6
  "description": "",
7
7
  "main": "sdk.js",
8
8
  "author": "tongyirenzheng",
@@ -434,6 +434,11 @@ Page({
434
434
  console.log('存在可回填的temp数据', formDataTemp[cid_type])
435
435
  let formData = Object.assign(formDataOld, formDataTemp[cid_type])
436
436
  Nation = formData.nation
437
+ // 国外护照,回填名字
438
+ if (cid_type === '700') {
439
+ formData.sur_name_en = formData.sur_name
440
+ formData.first_name_en = formData.first_name
441
+ }
437
442
  this.setData({
438
443
  formData
439
444
  })
@@ -640,7 +645,9 @@ Page({
640
645
  nation,
641
646
  nation_name,
642
647
  sur_name,
648
+ sur_name_en: sur_name,
643
649
  first_name,
650
+ first_name_en: first_name,
644
651
  sex: sex ? sex : '',
645
652
  birthday,
646
653
  cid_expire_date,