fix: remain in the same position of list after rename or delete Delete.vue

This commit is contained in:
niubility000 2024-02-24 18:03:19 +08:00 committed by GitHub
parent b876b1a55a
commit 799c6eb3a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -75,7 +75,7 @@ export default {
this.$showError(e); this.$showError(e);
if (this.isListing) this.$store.commit("setReload", true); if (this.isListing) this.$store.commit("setReload", true);
} }
nextTick(() => { this.$nextTick(() => {
window.sessionStorage.setItem("modified", "false"); window.sessionStorage.setItem("modified", "false");
}); });
}, },