bri-components 1.2.32 → 1.2.34

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.2.32",
3
+ "version": "1.2.34",
4
4
  "author": "dengshanghui",
5
5
  "description": "a component lib for vue project",
6
6
  "main": "src/index.js",
@@ -34,7 +34,8 @@
34
34
  "ali-oss": "^6.13.1",
35
35
  "bri-datas": "1.0.14",
36
36
  "jshint": "^2.12.0",
37
- "minio": "^7.0.26",
37
+ "jsonlint": "^1.6.3",
38
+ "minio": "7.1.0",
38
39
  "stream": "^0.0.2",
39
40
  "view-design": "^4.6.0",
40
41
  "viewerjs": "^1.10.2",
@@ -148,7 +148,7 @@
148
148
  },
149
149
  formControlClass: String,
150
150
 
151
- /* 本组件使用的 */
151
+ /* 本组件使用 -不传递子组件的 */
152
152
  monitorFormList: Array,
153
153
  showRules: {
154
154
  type: Boolean,
@@ -170,10 +170,9 @@
170
170
  },
171
171
  computed: {
172
172
  displayFormList () {
173
- return this.formList.filter(formItem =>
174
- this.isShow(formItem, this.formData) &&
175
- !(this.notShowEmpty && !this.canEdit && this.$isEmptyData(this.formData[formItem._key]))
176
- );
173
+ const formList = this.formList.filter(formItem => this.isShow(formItem, this.formData));
174
+ return formList;
175
+ // return this.$getNotEmptyFieldList(formList, this.formData, this.canEdit, this.notShowEmpty);
177
176
  }
178
177
  },
179
178
  created () {
@@ -185,9 +184,8 @@
185
184
  this.initMonitor();
186
185
  this.initRules();
187
186
  },
188
- // 初始化监测
187
+ // 初始化监测 -监测所有字段
189
188
  initMonitor () {
190
- // 监测所有字段
191
189
  (this.monitorFormList || this.formList).forEach(formItem => {
192
190
  this.$set(this.formData, formItem._key, this.formData[formItem._key]);
193
191
  });