Skip to content
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

"$delete" with warning "avoid using JavaScript unary operator as property name" #5464

Closed
taichunmin opened this issue Apr 18, 2017 · 1 comment

Comments

@taichunmin
Copy link

Version

2.2.6

Reproduction link

https://codepen.io/taichunmin/pen/KmdgPQ

Steps to reproduce

use $delete in @click

What is expected?

this.$delete is a Vue function, not unary operator

What is actually happening?

a warning "avoid using JavaScript unary operator as property name"

@taichunmin
Copy link
Author

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant