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