Vue中出现avoid using JavaScript unary operator as property name: "delete(item.id)" 错误的原因
因为使用了js关键字delete,把方法名delete换一下即可。