Skip to content
This repository was archived by the owner on Aug 18, 2021. It is now read-only.
This repository was archived by the owner on Aug 18, 2021. It is now read-only.

使用 useForm API 进行表单校验的问题 #30

@yangss3

Description

@yangss3
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.0.0-rc.4

Environment

Vue3

Reproduction link

https://codesandbox.io/s/practical-driscoll-ysu15?file=/src/App.vue

Steps to reproduce

填写表单所有必填字段后,点击提交按钮执行 validate 进行校验,界面无警告,控制台也无警告,但是validate会走catch

What is expected?

能正常通过校验

What is actually happening?

所有必填字段都有值,且无任何警告,但是validate会跳到catch

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions