This commit is contained in:
syuilo 2025-09-23 19:13:07 +09:00
parent 86f08300e1
commit 4e0ffebcd4
2 changed files with 2 additions and 0 deletions

View File

@ -1304,6 +1304,7 @@ async function canClose() {
defineExpose({
clear,
abortUploader: () => uploader.abortAll(),
canClose,
});
</script>

View File

@ -54,6 +54,7 @@ function onPosted() {
async function _close() {
const canClose = await form.value?.canClose();
if (!canClose) return;
form.value?.abortUploader();
modal.value?.close();
}