We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9335a80 commit 4b28825Copy full SHA for 4b28825
src/directives/link.js
@@ -28,7 +28,7 @@ export default function (Vue) {
28
// don't redirect on right click
29
if (e.button !== 0) return
30
31
- if (this.el.tagName === 'A') {
+ if (this.el.tagName === 'A' || e.target === this.el) {
32
// v-link on <a v-link="'path'">
33
e.preventDefault()
34
if (this.destination != null) {
0 commit comments