Revert "fix download file"
This reverts commit 14a85a40c83cd5d1c54e8e0f2c474d0c85783c2d.
This commit is contained in:
parent
788ecfb3e7
commit
d9ef0f3971
@ -6,6 +6,7 @@ const Download = ({ status, url, text, icon: Icon, ...props }) => {
|
||||
return (
|
||||
<AntButton
|
||||
{...props}
|
||||
target="_blank"
|
||||
href={url}
|
||||
disabled={status === ElementStatus.Disabled || !url}
|
||||
loading={status === ElementStatus.Loading}
|
||||
|
||||
Reference in New Issue
Block a user