mirror of
https://github.com/youzan/vant.git
synced 2025-10-16 08:00:34 +00:00
types(@vant/use): linkChildren param is optional
This commit is contained in:
@@ -61,7 +61,7 @@ export function useChildren(key: string | symbol) {
|
||||
const internalChildren: ComponentInternalInstance[] = reactive([]);
|
||||
const parent = getCurrentInstance()!;
|
||||
|
||||
const linkChildren = (value: any) => {
|
||||
const linkChildren = (value?: any) => {
|
||||
const link = (child: ComponentInternalInstance) => {
|
||||
if (child.proxy) {
|
||||
internalChildren.push(child);
|
||||
|
Reference in New Issue
Block a user