fix
This commit is contained in:
parent
0d4ba0cb08
commit
1dcfef760a
File diff suppressed because one or more lines are too long
|
|
@ -62,7 +62,10 @@ export const viEvalScript = (
|
||||||
if (childs.length > 1) {
|
if (childs.length > 1) {
|
||||||
let new_childs = [];
|
let new_childs = [];
|
||||||
for (const child of childs) {
|
for (const child of childs) {
|
||||||
if (isValid(child) && child.type === meta.script?.PassProp) {
|
if (
|
||||||
|
isValidElement(child) &&
|
||||||
|
child.type === meta.script?.PassProp
|
||||||
|
) {
|
||||||
replace_child = true;
|
replace_child = true;
|
||||||
}
|
}
|
||||||
if (!child.key) {
|
if (!child.key) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue