Vue中出现avoid using JavaScript unary operator as property name: "delete(item.id)" 错误的原因

Vue中出现avoid using JavaScript unary operator as property name: "delete(item.id)" 错误的原因

因为使用了js关键字delete,把方法名delete换一下即可。

posted @ 2019-06-04 08:46  半忧夏  阅读(4021)  评论(0编辑  收藏  举报