Skip to content

Commit

Permalink
fix(Link): trigger for many times click event
Browse files Browse the repository at this point in the history
  • Loading branch information
cuixiaorui committed Nov 20, 2020
1 parent 7555f78 commit 04ba8ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/link/Link.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default {
href: String,
icon: String
},
emits: ['click'],
setup(props, { emit }) {
const handleClick = (evt) => {
if (props.disabled) return
Expand Down

0 comments on commit 04ba8ae

Please sign in to comment.