Merge branch '2.0' of https://github.com/iview/iview into 2.0

This commit is contained in:
梁灏 2018-07-02 18:33:03 +08:00
commit 0717712d79

View file

@ -39,6 +39,8 @@ export default {
methods: {
goAnchor () {
this.currentLink = this.href;
this.anchorCom.handleHashChange();
this.anchorCom.handleScrollTo();
this.anchorCom.$emit('on-select', this.href);
const isRoute = this.$router;
if (isRoute) {