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

This commit is contained in:
niubility000 2024-02-24 17:17:22 +08:00 committed by GitHub
parent e167c3e1ef
commit 666a72ca55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -117,7 +117,7 @@ export default {
this.$store.commit("closeHovers");
// Set loading to true and reset the error.
if (window.sessionStorage.getItem('listFrozen') !=="true"){
if (window.sessionStorage.getItem('listFrozen') !=="true" && window.sessionStorage.getItem('modified') !=="true"){
this.setLoading(true);
}
this.error = null;