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

修改typescript中的validate返回类型 #395

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Scxppp
Copy link

@Scxppp Scxppp commented Oct 12, 2024

ts中validate的返回类型应为Promise<void>而不是Promise<boolean>
https://element-plus.org/zh-CN/component/form.html#form-exposes
参考的最下边的类型声明

@bianmiao
Copy link

bianmiao commented Oct 12, 2024 via email

@sayid760
Copy link

sayid760 commented Oct 12, 2024 via email

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

Successfully merging this pull request may close these issues.

3 participants