chore(@vant/use): remove @babel/runtime
This commit is contained in:
@@ -78,13 +78,18 @@ export function useChildren<
|
||||
internalChildren.splice(index, 1);
|
||||
};
|
||||
|
||||
provide(key, {
|
||||
link,
|
||||
unlink,
|
||||
children: publicChildren,
|
||||
internalChildren,
|
||||
...value,
|
||||
});
|
||||
provide(
|
||||
key,
|
||||
Object.assign(
|
||||
{
|
||||
link,
|
||||
unlink,
|
||||
children: publicChildren,
|
||||
internalChildren,
|
||||
},
|
||||
value
|
||||
)
|
||||
);
|
||||
};
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user