From 1765c324a6dd3e679cf2ed909f1dd058c167b564 Mon Sep 17 00:00:00 2001 From: xsf Date: Mon, 27 Feb 2023 16:34:26 +0800 Subject: [PATCH] Fix add function in vue demo Fix add function in vue demo --- example/components/handle.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: "" }); }