cnhis-design-vue 3.1.33-beta.0 → 3.1.33-beta.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.
@@ -82,7 +82,6 @@ function useBusinessBinding() {
82
82
  function handlerIdCardType() {
83
83
  const idCard = this.getValueByType(FIELD_BUSINESS_TYPE.ID_CARD);
84
84
  if (!idCard || !isString(idCard) || !isIdCard(idCard)) {
85
- setSexDisabled.call(this, false);
86
85
  return;
87
86
  }
88
87
  const info = parseIdCard(idCard);
@@ -91,11 +90,6 @@ function useBusinessBinding() {
91
90
  this.setValueByType(FIELD_BUSINESS_TYPE.AGE, age);
92
91
  this.setValueByType(FIELD_BUSINESS_TYPE.SEX, info.sex);
93
92
  this.setValueByType(FIELD_BUSINESS_TYPE.BIRTHDAY, format(new Date(info.birthday), getBirthdayFormat.call(this)));
94
- setSexDisabled.call(this, true);
95
- function setSexDisabled(value) {
96
- const sexField = this.getFieldInstanceByType(FIELD_BUSINESS_TYPE.SEX);
97
- isField(sexField) && (sexField.disabled = value);
98
- }
99
93
  }
100
94
  function handlerBirthdayType() {
101
95
  const birthday = this.getValueByType(FIELD_BUSINESS_TYPE.BIRTHDAY);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
- "version": "3.1.33-beta.0",
3
+ "version": "3.1.33-beta.1",
4
4
  "license": "ISC",
5
5
  "module": "./es/components/index.js",
6
6
  "main": "./es/components/index.js",
@@ -61,5 +61,5 @@
61
61
  "iOS 7",
62
62
  "last 3 iOS versions"
63
63
  ],
64
- "gitHead": "772c8fae6e11c1010a9b1c3e1e047de233ad2ad3"
64
+ "gitHead": "6be8d9cdbe579183d3a3b9cee244b44014659614"
65
65
  }