chore: Prettified Code
[ci skip]
This commit is contained in:
parent
686971502f
commit
9b407e9e9b
1 changed files with 10 additions and 11 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue