Merge remote-tracking branch 'origin/ljj' into lt

This commit is contained in:
2025-08-19 20:15:20 +08:00
10 changed files with 373 additions and 301 deletions

View File

@ -315,6 +315,11 @@ const uploadedSuccessfully = (res: any) => {
fileList.value = [];
emit('update:modelValue', ''); // 同步到外部 v-model
}
// if (props.autoUpload && props.limit === fileList.value.length) {
// fileUploadRef.value?.clearFiles();
// fileList.value = [];
// emit('update:modelValue', ''); // 同步到外部 v-model
// }
props.onUploadSuccess?.(fileList.value, res);
};