wip fix
This commit is contained in:
parent
181fc21817
commit
66e57cd3dd
|
|
@ -27,6 +27,7 @@ export const EdPropCompTreeItem: FC<{
|
|||
|
||||
let type = "TXT";
|
||||
if (node.data?.prop.meta?.type === "option") type = "OPT";
|
||||
else if (node.data?.prop.meta?.type === "file") type = "FILE";
|
||||
else if (node.data?.prop.meta?.type === "content-element") type = "JSX";
|
||||
|
||||
const plabel = node.data?.prop.label;
|
||||
|
|
|
|||
|
|
@ -303,6 +303,7 @@ const SingleProp: FC<{
|
|||
(
|
||||
{
|
||||
option: "OPT",
|
||||
file: "FILE",
|
||||
text: "TXT",
|
||||
"content-element": "JSX",
|
||||
} as any
|
||||
|
|
@ -421,6 +422,7 @@ const SinglePopover: FC<{
|
|||
{[
|
||||
{ label: "TXT", type: "text" },
|
||||
{ label: "OPT", type: "option" },
|
||||
{ label: "FILE", type: "file" },
|
||||
{ label: "JSX", type: "content-element" },
|
||||
].map((e) => {
|
||||
return (
|
||||
|
|
|
|||
Loading…
Reference in New Issue