diff --git a/web/components/common/gpt-card.tsx b/web/components/common/gpt-card.tsx index 730d459d9..8ab7e0ccc 100644 --- a/web/components/common/gpt-card.tsx +++ b/web/components/common/gpt-card.tsx @@ -59,6 +59,7 @@ function GPTCard({ return icon; }, [icon]); + // TODO: 算子资源标签 const tagNode = useMemo(() => { if (!tags || !tags.length) return null; return ( diff --git a/web/components/flow/canvas-node.tsx b/web/components/flow/canvas-node.tsx index ebc1c20a5..de33a0e7b 100644 --- a/web/components/flow/canvas-node.tsx +++ b/web/components/flow/canvas-node.tsx @@ -18,7 +18,7 @@ type CanvasNodeProps = { const ICON_PATH_PREFIX = '/icons/node/'; function TypeLabel({ label }: { label: string }) { - return
{node.label}
{node.description}
>} placement="right"> +{node.label}
+{node.description}
+ > + } + placement="right" + >{node.label}
{data.label}:
{data.label}:
{data.label}: