Commit 06d29e2e authored by Hoxton Lau's avatar Hoxton Lau Committed by 杨奕

Form-item: fix typo

parent a69d9757
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment