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);
|
}, 100);
|
||||||
},
|
},
|
||||||
setPagePos() {
|
setPagePos() {
|
||||||
try{
|
try {
|
||||||
console.debug({
|
console.debug({
|
||||||
href: window.location.hash,
|
href: window.location.hash,
|
||||||
position: $("#app-content").scrollTop(),
|
position: $("#app-content").scrollTop(),
|
||||||
});
|
});
|
||||||
this.$store.commit("setPagePos", {
|
this.$store.commit("setPagePos", {
|
||||||
href: window.location.hash,
|
href: window.location.hash,
|
||||||
position: $("#app-content").scrollTop(),
|
position: $("#app-content").scrollTop(),
|
||||||
});
|
});
|
||||||
} catch(e){
|
} catch (e) {}
|
||||||
}
|
|
||||||
},
|
},
|
||||||
routeView(item) {
|
routeView(item) {
|
||||||
this.setPagePos();
|
this.setPagePos();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue