update
update
This commit is contained in:
parent
43513f702c
commit
a1fb479092
1 changed files with 1 additions and 2 deletions
|
@ -79,7 +79,6 @@ export default {
|
||||||
this.getCurrentScrollAtTitleId(scrollTop);
|
this.getCurrentScrollAtTitleId(scrollTop);
|
||||||
},
|
},
|
||||||
turnTo (href) {
|
turnTo (href) {
|
||||||
const oldHref = this.currentLink;
|
|
||||||
this.currentLink = href;
|
this.currentLink = href;
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: href
|
path: href
|
||||||
|
@ -180,7 +179,7 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
this.init()
|
this.init();
|
||||||
},
|
},
|
||||||
beforeDestroy () {
|
beforeDestroy () {
|
||||||
this.removeListener();
|
this.removeListener();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue