This commit is contained in:
Rizky 2024-04-01 08:46:20 +07:00
parent a633807320
commit 93528d1e77
2 changed files with 8 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -107,7 +107,13 @@ export const createViPassProp = (
const item = meta.item as any;
if (!item[k]) item[k] = v;
}
render({})
const props = meta.item.component?.props as any;
for (const [k, v] of Object.entries(
comp.component?.props || {}
)) {
if (!props[k]) props[k] = v;
}
render({});
}
});
}