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 () => (