mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-27 20:06:36 +08:00
fix(ActionBar): incorrect provide value
This commit is contained in:
parent
e893efd60d
commit
6efaee7108
@ -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 () => (
|
||||
<div class={bem({ unfit: !props.safeAreaInsetBottom })}>
|
||||
|
Loading…
x
Reference in New Issue
Block a user