feat: remain in the same position of the list when back from a sub folder
This commit is contained in:
parent
4f959f8319
commit
44d5a51f63
@ -249,8 +249,8 @@ export default {
|
||||
open: function () {
|
||||
window.sessionStorage.setItem(
|
||||
this.$route.path,
|
||||
JSON.stringify([document.documentElement.scrollTop, this.index])
|
||||
);
|
||||
JSON.stringify([document.documentElement.scrollTop, this.index])
|
||||
);
|
||||
this.$router.push({ path: this.url });
|
||||
},
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user