feat: 是否在组件Unmounted时取消上传

This commit is contained in:
dap
2025-03-30 12:59:18 +08:00
parent b9843c6faf
commit f16afe657e
6 changed files with 32 additions and 10 deletions

View File

@@ -42,6 +42,7 @@ const props = withDefaults(defineProps<ImageUploadProps>(), {
listType: 'picture-card',
helpMessage: true,
enableDragUpload: false,
abortOnUnmounted: true,
});
// 双向绑定 ossId