mirror of
https://github.com/cloudreve/frontend.git
synced 2025-12-25 19:52:48 +00:00
fix(EntityRow): window.open
This commit is contained in:
parent
9bd6b158b5
commit
cca800afa8
|
|
@ -50,7 +50,8 @@ const EntityRow = ({
|
|||
|
||||
dispatch(getEntityUrl(entity?.id ?? 0))
|
||||
.then((url) => {
|
||||
window.location.assign(url);
|
||||
// window.location.assign(url);
|
||||
window.open(url, "_blank");
|
||||
})
|
||||
.finally(() => {
|
||||
setOpenLoading(false);
|
||||
|
|
|
|||
Loading…
Reference in New Issue