1
This commit is contained in:
parent
7a44697c56
commit
4caae86b10
@ -152,29 +152,29 @@ const NodeConfigDrawer: React.FC<NodeConfigDrawerProps> = ({
|
||||
return (
|
||||
<>
|
||||
<Divider orientation="left">节点说明</Divider>
|
||||
<div style={{ marginBottom: 16 }}>
|
||||
<p>{details.description}</p>
|
||||
{details.features && details.features.length > 0 && (
|
||||
<div>
|
||||
<strong>功能特点:</strong>
|
||||
<ul>
|
||||
{details.features.map((feature, index) => (
|
||||
<li key={index}>{feature}</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
)}
|
||||
{details.scenarios && details.scenarios.length > 0 && (
|
||||
<div>
|
||||
<strong>适用场景:</strong>
|
||||
<ul>
|
||||
{details.scenarios.map((scenario, index) => (
|
||||
<li key={index}>{scenario}</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
{/*<div style={{ marginBottom: 16 }}>*/}
|
||||
{/* <p>{details.description}</p>*/}
|
||||
{/* {details.features && details.features.length > 0 && (*/}
|
||||
{/* <div>*/}
|
||||
{/* <strong>功能特点:</strong>*/}
|
||||
{/* <ul>*/}
|
||||
{/* {details.features.map((feature, index) => (*/}
|
||||
{/* <li key={index}>{feature}</li>*/}
|
||||
{/* ))}*/}
|
||||
{/* </ul>*/}
|
||||
{/* </div>*/}
|
||||
{/* )}*/}
|
||||
{/* {details.scenarios && details.scenarios.length > 0 && (*/}
|
||||
{/* <div>*/}
|
||||
{/* <strong>适用场景:</strong>*/}
|
||||
{/* <ul>*/}
|
||||
{/* {details.scenarios.map((scenario, index) => (*/}
|
||||
{/* <li key={index}>{scenario}</li>*/}
|
||||
{/* ))}*/}
|
||||
{/* </ul>*/}
|
||||
{/* </div>*/}
|
||||
{/* )}*/}
|
||||
{/*</div>*/}
|
||||
</>
|
||||
);
|
||||
};
|
||||
@ -195,7 +195,7 @@ const NodeConfigDrawer: React.FC<NodeConfigDrawerProps> = ({
|
||||
</Space>
|
||||
}
|
||||
>
|
||||
{renderNodeDetails()}
|
||||
{/*{renderNodeDetails()}*/}
|
||||
<Divider orientation="left">节点配置</Divider>
|
||||
<Form
|
||||
form={form}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user