fix(dialog): fix closeDelay (#357)

issue #352

fix #352
This commit is contained in:
shlroland
2020-09-27 11:30:04 +08:00
committed by GitHub
parent cecf4afdfc
commit 4b7f671774

View File

@@ -83,7 +83,7 @@ export default function(props: UseDialogProps, ctx: SetupContext) {
if (props.beforeClose) {
props.beforeClose(hide)
} else {
hide(false)
close()
}
}