fix(projects): 修复未清空文件列表,上传回显问题

This commit is contained in:
AN
2025-07-02 10:26:42 +08:00
parent 85c8a9fffa
commit 229e00443f
2 changed files with 27 additions and 24 deletions

View File

@ -28,7 +28,9 @@ const accept = computed(() => (props.uploadType === 'file' ? AcceptType.File : A
const fileList = ref<UploadFileInfo[]>([]);
function handleUpdateModelWhenUpload() {}
function handleUpdateModelWhenUpload() {
fileList.value = [];
}
function closeDrawer() {
visible.value = false;