fix gen table

This commit is contained in:
Rizky 2024-06-24 03:44:30 -07:00
parent f0cbf25548
commit 1bdfab9c1b
2 changed files with 3 additions and 1 deletions

View File

@ -110,6 +110,8 @@ render(React.createElement("div", Object.assign({}, props, { className: cx(props
})
.filter((e) => e) as any,
});
result["gen__table"] = { mode: "string", value: table };
if (commit) {
Object.keys(result).map((e) => {
item.edit.setProp(e, result[e]);

View File

@ -123,7 +123,7 @@ idx: any;
}
`,
});
tab_master?.edit.setChilds([
{
type: "item",