auto-save 2026-05-13 23:57 (~2)

This commit is contained in:
2026-05-13 23:57:28 +08:00
parent 093c924124
commit 12daaa2be6
2 changed files with 15 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ interface Props {
icon?: ReactNode
title: string
subtitle?: string
width?: number
width?: number | string // 默认 '100%':让外层 ReactFlow node wrapper (node.style.width) 决定,配合 NodeResizeControl 用户可拖
selected?: boolean
hasTarget?: boolean
hasSource?: boolean
@@ -39,7 +39,7 @@ export function NodeShell({
icon,
title,
subtitle,
width = 280,
width = "100%",
selected,
hasTarget = true,
hasSource = true,