fix meta
This commit is contained in:
parent
bedc8a57ce
commit
122aba4339
File diff suppressed because one or more lines are too long
|
|
@ -103,6 +103,7 @@ export const genComp = (p: GenMetaP, arg: GenMetaArg) => {
|
||||||
for (const child of Object.values(item.childs)) {
|
for (const child of Object.values(item.childs)) {
|
||||||
if (child?.name?.startsWith("jsx:")) continue;
|
if (child?.name?.startsWith("jsx:")) continue;
|
||||||
|
|
||||||
|
if (child && Object.keys(child).length > 1) {
|
||||||
genMeta(
|
genMeta(
|
||||||
{ ...p, mode: "comp" },
|
{ ...p, mode: "comp" },
|
||||||
{
|
{
|
||||||
|
|
@ -120,4 +121,5 @@ export const genComp = (p: GenMetaP, arg: GenMetaArg) => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue