From 799c6eb3a06878c72a105d10daebe8a457a2bb8a Mon Sep 17 00:00:00 2001 From: niubility000 <76441520+niubility000@users.noreply.github.com> Date: Sat, 24 Feb 2024 18:03:19 +0800 Subject: [PATCH] fix: remain in the same position of list after rename or delete Delete.vue --- frontend/src/components/prompts/Delete.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/prompts/Delete.vue b/frontend/src/components/prompts/Delete.vue index 4559b38a..0b39f7ab 100644 --- a/frontend/src/components/prompts/Delete.vue +++ b/frontend/src/components/prompts/Delete.vue @@ -75,7 +75,7 @@ export default { this.$showError(e); if (this.isListing) this.$store.commit("setReload", true); } - nextTick(() => { + this.$nextTick(() => { window.sessionStorage.setItem("modified", "false"); }); },