bri-components 1.2.40 → 1.2.42

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.40",
3
+ "version": "1.2.42",
4
4
  "author": "dengshanghui",
5
5
  "description": "a component lib for vue project",
6
6
  "main": "src/index.js",
@@ -206,7 +206,7 @@
206
206
 
207
207
  /* ------- 供外部使用 ---------- */
208
208
  // 获取iview的form组件实例
209
- getFormVDom () {
209
+ getFormRef () {
210
210
  return this.$refs.form;
211
211
  },
212
212
  // 校验
@@ -228,7 +228,7 @@
228
228
  getValid () {
229
229
  let bool = true;
230
230
 
231
- this.getFormVDom().validate(valid => {
231
+ this.getFormRef().validate(valid => {
232
232
  bool = bool && valid;
233
233
  });
234
234
  this.selfValidate((valid, errorFormList) => {