Explorar o código

Modify document error (#1629)

XinYong Chen %!s(int64=8) %!d(string=hai) anos
pai
achega
c7cfcc36bc
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      examples/docs/en-US/form.md
  2. 1 1
      examples/docs/zh-CN/form.md

+ 1 - 1
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 {

+ 1 - 1
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 {