This commit is contained in:
Rizky 2024-04-09 00:59:23 +07:00
parent 18b9f3b48c
commit 35be7e00f0
1 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ export const EdPropInstanceOptions: FC<{
} }
if (meta.item.component) { if (meta.item.component) {
for (const [k, v] of Object.entries(meta.item.component.props)) { for (const [k, v] of Object.entries(meta.item.component.props)) {
if (v.valueBuilt) { if (v.valueBuilt && v.valueBuilt.length > 3) {
try { try {
const evn = new Function( const evn = new Function(
"arg", "arg",
@ -87,7 +87,7 @@ export const EdPropInstanceOptions: FC<{
evn(arg); evn(arg);
} catch (e) { } catch (e) {
console.error(e); console.error(e);
console.warn(v.valueBuilt); console.warn(k, v.valueBuilt);
} }
} }