diff --git a/example/components/handle.vue b/example/components/handle.vue index 06991716..e1033ce0 100644 --- a/example/components/handle.vue +++ b/example/components/handle.vue @@ -58,7 +58,7 @@ export default { removeAt(idx) { this.list.splice(idx, 1); }, - add: function() { + add() { id++; this.list.push({ name: "Juan " + id, id, text: "" }); }