chore: Prettified Code

[ci skip]
This commit is contained in:
vapormusic 2022-10-07 16:03:57 +00:00 committed by cider-chore[bot]
parent 686971502f
commit 9b407e9e9b

View file

@ -2143,17 +2143,16 @@ const app = new Vue({
}, 100);
},
setPagePos() {
try{
console.debug({
href: window.location.hash,
position: $("#app-content").scrollTop(),
});
this.$store.commit("setPagePos", {
href: window.location.hash,
position: $("#app-content").scrollTop(),
});
} catch(e){
}
try {
console.debug({
href: window.location.hash,
position: $("#app-content").scrollTop(),
});
this.$store.commit("setPagePos", {
href: window.location.hash,
position: $("#app-content").scrollTop(),
});
} catch (e) {}
},
routeView(item) {
this.setPagePos();