-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Fixed Bug] argument undefined in function call of scoped slot #2
Comments
As far as I konw, First, you should use <div @click.prevent="greet('hello')">worked</div> Then it will work as you expect, get your param: Second, if you are using Hope my reply is helpeful, Thank you for your feedback~ |
I am using bootstrap-vue table. It behaves weirdly if i use this compiler.
But when i run the above code without this compiler, it just works fine. |
@csechuan It is a bug, I've published a new version You can try it by:npm install [email protected] -D
// or yarn
yarn add [email protected] -D Thank you for your feedback! |
Facing some issue when running this compiler in Nuxt. Trying to call a function on click of a component, but unable to retrieve the argument.
<component @click.prevent(greet('hello'))>
methods: {
greet(message) {
console.log(message) // return undefined
}
}
The text was updated successfully, but these errors were encountered: