Merge branch '2.0' of https://github.com/iview/iview into 2.0
This commit is contained in:
commit
0717712d79
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue