Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

async-validator console error #5238

Open
1 task
monsuns opened this issue Feb 11, 2022 · 1 comment
Open
1 task

async-validator console error #5238

monsuns opened this issue Feb 11, 2022 · 1 comment

Comments

@monsuns
Copy link

monsuns commented Feb 11, 2022

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

Version

3.0.0-beta.9

Environment

win10 - chrome vue3

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. 表单组件,设置表格单元校验规则必填, 然后直接提交. Form component , set a form unit rule to required and submit without input.
  2. 可见控制台输出 async-validator: ["'${name}' is required"] , 怀疑应该是`` 写成了"". we can see async-validator: ["'${name}' is required"] in console.

What is expected?

console display async-validator: [" 'title' is required"]

What is actually happening?

console display async-validator: ["'${name}' is required"]

@tangjinzhou
Copy link
Member

这个要 async-validator 那边去改,这个提示是开发环境才显示,线上环境没有的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants