feat(components): [dialog] expose handleClose (#20323)

This commit is contained in:
btea 2025-04-02 09:55:33 +08:00 committed by GitHub
parent 1084071fcf
commit a846ad1d44
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -213,6 +213,7 @@ dialog/events
| Name | Description | Type |
| ---------------------- | -------------- | ----------------------- |
| resetPosition ^(2.8.1) | reset position | ^[Function]`() => void` |
| handleClose ^(2.9.8) | close dialog | ^[Function]`() => void` |
## FAQ

View File

@ -154,5 +154,6 @@ defineExpose({
visible,
dialogContentRef,
resetPosition,
handleClose,
})
</script>