Skip to content

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

New issue

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

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

Already on GitHub? # to your account

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

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

Successfully merging this pull request may close these issues.

3 participants