From 6efaee71083a9ab721e013c8e43624530e8be0c7 Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Mon, 24 Aug 2020 19:03:56 +0800 Subject: [PATCH] fix(ActionBar): incorrect provide value --- src/action-bar/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/action-bar/index.js b/src/action-bar/index.js index bcbb1830b..fc45a966a 100644 --- a/src/action-bar/index.js +++ b/src/action-bar/index.js @@ -14,8 +14,9 @@ export default createComponent({ }, setup(props, { slots }) { - const children = ref([]); - provide(ACTION_BAR_KEY, children); + provide(ACTION_BAR_KEY, { + children: ref([]), + }); return () => (