From c7cfcc36bcb9255b542453b3ea04d0993786057e Mon Sep 17 00:00:00 2001 From: XinYong Chen Date: Thu, 8 Dec 2016 04:42:33 -0600 Subject: [PATCH] Modify document error (#1629) --- examples/docs/en-US/form.md | 2 +- examples/docs/zh-CN/form.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 {