wip fix
This commit is contained in:
parent
2b253faaea
commit
390a832d76
|
|
@ -29,7 +29,7 @@ export const EdPropInstanceText: FC<{
|
||||||
if (val) {
|
if (val) {
|
||||||
try {
|
try {
|
||||||
eval(`local.value = ${valBuilt}`);
|
eval(`local.value = ${valBuilt}`);
|
||||||
} catch (e) {}
|
} catch (e) { }
|
||||||
} else {
|
} else {
|
||||||
local.value = "";
|
local.value = "";
|
||||||
}
|
}
|
||||||
|
|
@ -37,10 +37,11 @@ export const EdPropInstanceText: FC<{
|
||||||
}, [val, valBuilt]);
|
}, [val, valBuilt]);
|
||||||
|
|
||||||
const label = (
|
const label = (
|
||||||
<div className="pl-1 max-w-[50px] overflow-hidden text-ellipsis whitespace-nowrap">
|
<div className="pl-1 w-[70px] overflow-hidden text-ellipsis whitespace-nowrap">
|
||||||
{name}
|
{name}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex items-center">
|
<div className="flex items-center">
|
||||||
{name.length > 8 ? (
|
{name.length > 8 ? (
|
||||||
|
|
|
||||||
|
|
@ -84,8 +84,7 @@ export const ViewMetaScript: FC<{
|
||||||
js = item.adv.js;
|
js = item.adv.js;
|
||||||
}
|
}
|
||||||
console.warn(
|
console.warn(
|
||||||
`Maximum render limit (100 render in 100ms) reached in item [${
|
`Maximum render limit (100 render in 100ms) reached in item [${item.name
|
||||||
item.name
|
|
||||||
}]:\n${js.length > 30 ? js.substring(0, 30) + "..." : js}`
|
}]:\n${js.length > 30 ? js.substring(0, 30) + "..." : js}`
|
||||||
);
|
);
|
||||||
return renderLimit[v.current.page_id][item.id].cache;
|
return renderLimit[v.current.page_id][item.id].cache;
|
||||||
|
|
@ -137,6 +136,7 @@ export const ViewMetaScript: FC<{
|
||||||
}
|
}
|
||||||
const output = { jsx: null as any };
|
const output = { jsx: null as any };
|
||||||
|
|
||||||
|
|
||||||
args = {
|
args = {
|
||||||
...w.exports,
|
...w.exports,
|
||||||
...finalScope,
|
...finalScope,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue