From 5cfd4760c6ef540c5cd28428610df7ece3a296b9 Mon Sep 17 00:00:00 2001 From: niubility000 <76441520+niubility000@users.noreply.github.com> Date: Fri, 15 Mar 2024 10:53:08 +0800 Subject: [PATCH] feat: remain in the same position of the list when back from a sub folder --- 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; }