The reason "delete (item.id)" error: avoid Vue appear in using JavaScript unary operator as property name
Because of the use js keyword delete, delete the name of the method to change what you can.
The reason "delete (item.id)" error: avoid Vue appear in using JavaScript unary operator as property name
Because of the use js keyword delete, delete the name of the method to change what you can.