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);
},
turnTo (href) {
const oldHref = this.currentLink;
this.currentLink = href;
this.$router.push({
path: href
@ -180,7 +179,7 @@ export default {
}
},
mounted () {
this.init()
this.init();
},
beforeDestroy () {
this.removeListener();