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
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
|
|
207
207
|
/* ------- 供外部使用 ---------- */
|
|
208
208
|
// 获取iview的form组件实例
|
|
209
|
-
|
|
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.
|
|
231
|
+
this.getFormRef().validate(valid => {
|
|
232
232
|
bool = bool && valid;
|
|
233
233
|
});
|
|
234
234
|
this.selfValidate((valid, errorFormList) => {
|