From 0131f92ea134c3b07246908fea051d6d890a2179 Mon Sep 17 00:00:00 2001 From: zhe-he Date: Tue, 8 Aug 2023 16:03:08 +0800 Subject: [PATCH] feat: remove uid --- src/AjaxUploader.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/AjaxUploader.tsx b/src/AjaxUploader.tsx index e537d9e..62b081a 100644 --- a/src/AjaxUploader.tsx +++ b/src/AjaxUploader.tsx @@ -235,6 +235,8 @@ class AjaxUploader extends Component { this.setState({ uid: getUid(), }); + // After changing here, can uid be removed? + if (this.fileInput) this.fileInput.value = ""; } abort(file?: any) {