Skip to content

Commit cec5101

Browse files
committed
fix v-link
1 parent eac5322 commit cec5101

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/link.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = function (Vue) {
1313
}
1414
this.handler = function (e) {
1515
e.preventDefault()
16-
router.go(href)
16+
vm.route._router.go(href)
1717
}
1818
this.el.addEventListener('click', this.handler)
1919
},

0 commit comments

Comments
 (0)