Skip to content

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

Closed
@taichunmin

Description

@taichunmin

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions