From 7f66b3ff4bb62337d90c2662c78d590a43959559 Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 18 May 2021 11:14:56 +0800 Subject: [PATCH] fix: functional components should inherit "key" (#8718) --- src/utils/functional.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/functional.ts b/src/utils/functional.ts index da06f7fdc..978808d7f 100644 --- a/src/utils/functional.ts +++ b/src/utils/functional.ts @@ -7,6 +7,7 @@ type InheritContext = Partial & ObjectIndex; const inheritKey = [ 'ref', + 'key', 'style', 'class', 'attrs',