mirror of https://github.com/ElemeFE/element
Modify document error (#1629)
parent
af0d7288bd
commit
c7cfcc36bc
|
@ -766,7 +766,7 @@ Form component allows you to verify your data, helping you find and correct erro
|
|||
},
|
||||
methods: {
|
||||
handleSubmit3(ev) {
|
||||
this.$refs.ruleForm.validate((valid) => {
|
||||
this.$refs.dynamicForm.validate((valid) => {
|
||||
if (valid) {
|
||||
alert('submit!');
|
||||
} else {
|
||||
|
|
|
@ -756,7 +756,7 @@
|
|||
},
|
||||
methods: {
|
||||
handleSubmit3(ev) {
|
||||
this.$refs.ruleForm.validate((valid) => {
|
||||
this.$refs.dynamicForm.validate((valid) => {
|
||||
if (valid) {
|
||||
alert('submit!');
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue