fix
This commit is contained in:
parent
18b9f3b48c
commit
35be7e00f0
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue