tangjie 2026-07-08 15:28:38 +08:00
parent fe3c730afc
commit 571be75431
1 changed files with 4 additions and 1 deletions

View File

@ -23,6 +23,9 @@ export default function UploadButton({
<Upload
showUploadList={false}
action={action}
headers={{
token: sessionStorage.getItem("token"),
}}
onChange={(info) => {
if (info.file.status === "uploading") {
setUploading(true);