fix(web): workflow properties

This commit is contained in:
zhaoying
2025-12-23 14:30:22 +08:00
parent 5736a70ccb
commit 7d40d06b69
2 changed files with 2 additions and 1 deletions

View File

@@ -31,6 +31,7 @@ const Properties: FC<PropertiesProps> = ({
const [editIndex, setEditIndex] = useState<number | null>(null)
useEffect(() => {
form.resetFields()
if (selectedNode && form) {
const { type = 'default', name = '', config } = selectedNode.getData() || {}
const initialValue: Record<string, any> = {}