apply-clients 4.1.80 → 4.1.81

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "4.1.80",
3
+ "version": "4.1.81",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -546,7 +546,7 @@
546
546
  this.$dispatch('onblur', index)
547
547
  // 如果有错误信息提示走错误信息判断处理
548
548
 
549
- if (this.data.fields[index].error || this.data.fields[index].type === 'datepicker') {
549
+ if (this.data.fields[index].error && this.data.fields[index].type === 'datepicker') {
550
550
  this.$dispatch('error_check', index)
551
551
  }
552
552
  },
@@ -569,7 +569,7 @@
569
569
  this.$dispatch('onchange', index)
570
570
 
571
571
  // 如果有错误信息提示走错误信息判断处理
572
- if (this.data.fields[index].error || this.data.fields[index].type === 'datepicker') {
572
+ if (this.data.fields[index].error && this.data.fields[index].type === 'datepicker') {
573
573
  this.$dispatch('error_check', index)
574
574
  }
575
575
  },
@@ -580,7 +580,7 @@
580
580
  this.$dispatch('oninput', index)
581
581
 
582
582
  // 如果有错误信息提示走错误信息判断处理
583
- if (this.data.fields[index].error || this.data.fields[index].type === 'datepicker') {
583
+ if (this.data.fields[index].error && this.data.fields[index].type === 'datepicker') {
584
584
  this.$dispatch('error_check', index)
585
585
  }
586
586
  },