bri-components 1.4.85 → 1.4.86

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": "bri-components",
3
- "version": "1.4.85",
3
+ "version": "1.4.86",
4
4
  "author": "dengshanghui",
5
5
  "description": "a component lib for vue project",
6
6
  "main": "src/index.js",
@@ -229,7 +229,7 @@
229
229
  },
230
230
  // 初始化监测 -监测所有字段
231
231
  initMonitor () {
232
- (this.allFormList || this.formList).forEach(formItem => {
232
+ (this.allFormList.length ? this.allFormList : this.formList).forEach(formItem => {
233
233
  this.$set(this.formData, formItem._key, this.formData[formItem._key]);
234
234
  });
235
235
  },