This commit is contained in:
Riz 2023-12-06 19:44:39 +07:00
parent 2b253faaea
commit 390a832d76
2 changed files with 5 additions and 4 deletions

View File

@ -29,7 +29,7 @@ export const EdPropInstanceText: FC<{
if (val) {
try {
eval(`local.value = ${valBuilt}`);
} catch (e) {}
} catch (e) { }
} else {
local.value = "";
}
@ -37,10 +37,11 @@ export const EdPropInstanceText: FC<{
}, [val, valBuilt]);
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}
</div>
);
return (
<div className="flex items-center">
{name.length > 8 ? (

View File

@ -84,8 +84,7 @@ export const ViewMetaScript: FC<{
js = item.adv.js;
}
console.warn(
`Maximum render limit (100 render in 100ms) reached in item [${
item.name
`Maximum render limit (100 render in 100ms) reached in item [${item.name
}]:\n${js.length > 30 ? js.substring(0, 30) + "..." : js}`
);
return renderLimit[v.current.page_id][item.id].cache;
@ -137,6 +136,7 @@ export const ViewMetaScript: FC<{
}
const output = { jsx: null as any };
args = {
...w.exports,
...finalScope,