From 9931f20f7799323d81f642d6b19aeb2843ce956c Mon Sep 17 00:00:00 2001 From: niubility000 <76441520+niubility000@users.noreply.github.com> Date: Sat, 23 Mar 2024 18:10:36 +0800 Subject: [PATCH] feat: remain in the same position when back from a subfolder --- frontend/src/components/prompts/Rename.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/prompts/Rename.vue b/frontend/src/components/prompts/Rename.vue index f3a96c2e..5c5433d7 100644 --- a/frontend/src/components/prompts/Rename.vue +++ b/frontend/src/components/prompts/Rename.vue @@ -92,7 +92,7 @@ export default { try { await api.move([{ from: oldLink, to: newLink }]); if (!this.isListing) { - this.$router.push({ path: newLink }); + this.$router.replace({ path: newLink }); return; }