Modify document error (#1629)

pull/1635/head
XinYong Chen 2016-12-08 04:42:33 -06:00 committed by cinwell.li
parent af0d7288bd
commit c7cfcc36bc
2 changed files with 2 additions and 2 deletions

View File

@ -766,7 +766,7 @@ Form component allows you to verify your data, helping you find and correct erro
}, },
methods: { methods: {
handleSubmit3(ev) { handleSubmit3(ev) {
this.$refs.ruleForm.validate((valid) => { this.$refs.dynamicForm.validate((valid) => {
if (valid) { if (valid) {
alert('submit!'); alert('submit!');
} else { } else {

View File

@ -756,7 +756,7 @@
}, },
methods: { methods: {
handleSubmit3(ev) { handleSubmit3(ev) {
this.$refs.ruleForm.validate((valid) => { this.$refs.dynamicForm.validate((valid) => {
if (valid) { if (valid) {
alert('submit!'); alert('submit!');
} else { } else {