update
This commit is contained in:
zhigang.li 2018-04-12 17:52:49 +08:00
parent 43513f702c
commit a1fb479092

View file

@ -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();