From 2e927ec2e4a912197cdbcbbb17d70c4a3edb18ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=98=89=E6=B6=B5?= Date: Fri, 14 Feb 2020 10:53:16 +0800 Subject: [PATCH] fix(Field): fix filter typo --- src/field/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/field/index.js b/src/field/index.js index feb68536f..d9c3a2993 100644 --- a/src/field/index.js +++ b/src/field/index.js @@ -79,7 +79,7 @@ export default createComponent({ beforeDestroy() { if (this.vanForm) { - this.vanForm.fields = this.vanForm.fields.fiilter(item => item !== this); + this.vanForm.fields = this.vanForm.fields.filter(item => item !== this); } },