diff --git a/examples/docs/en-US/form.md b/examples/docs/en-US/form.md index a27633b0e..834cf7193 100644 --- a/examples/docs/en-US/form.md +++ b/examples/docs/en-US/form.md @@ -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 { diff --git a/examples/docs/zh-CN/form.md b/examples/docs/zh-CN/form.md index 416b1c0dd..152c0157e 100644 --- a/examples/docs/zh-CN/form.md +++ b/examples/docs/zh-CN/form.md @@ -756,7 +756,7 @@ }, methods: { handleSubmit3(ev) { - this.$refs.ruleForm.validate((valid) => { + this.$refs.dynamicForm.validate((valid) => { if (valid) { alert('submit!'); } else {