mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-02 04:07:50 +08:00
chore(router): disable using replace strategy when closing popups or subpages (#4838)
This commit is contained in:
parent
07c3428b9e
commit
f1a564f074
@ -231,7 +231,7 @@ export const usePagePopup = () => {
|
||||
if (getStoredPopupContext(currentPopupUid)) {
|
||||
navigate(-1);
|
||||
} else {
|
||||
navigate(withSearchParams(removeLastPopupPath(location.pathname)), { replace: true });
|
||||
navigate(withSearchParams(removeLastPopupPath(location.pathname)));
|
||||
}
|
||||
},
|
||||
[navigate, location, isPopupVisibleControlledByURL],
|
||||
|
Loading…
Reference in New Issue
Block a user