From 39e27a6be922eaa082d5fecb45d269f6792bc55d Mon Sep 17 00:00:00 2001 From: niubility000 <76441520+niubility000@users.noreply.github.com> Date: Sat, 16 Mar 2024 03:38:38 +0800 Subject: [PATCH] feat: stay 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; }