Form-item: fix typo

pull/7186/head
Hoxton Lau 2017-09-22 17:35:42 +08:00 committed by 杨奕
parent a69d975730
commit 06d29e2ed6
1 changed files with 2 additions and 2 deletions

View File

@ -193,11 +193,11 @@
},
getRules() {
var formRules = this.form.rules;
var selfRuels = this.rules;
var selfRules = this.rules;
formRules = formRules ? formRules[this.prop] : [];
return [].concat(selfRuels || formRules || []);
return [].concat(selfRules || formRules || []);
},
getFilteredRule(trigger) {
var rules = this.getRules();