fix: uploading loading
This commit is contained in:
parent
72d6f97024
commit
f2d2622172
|
@ -126,6 +126,7 @@ export function ArtifactShareButton({
|
|||
bordered
|
||||
title={Locale.Export.Artifact.Title}
|
||||
onClick={() => {
|
||||
if (loading) return;
|
||||
setLoading(true);
|
||||
upload(getCode())
|
||||
.then((res) => {
|
||||
|
|
Loading…
Reference in New Issue