feat: improve workflow node configuration
This commit is contained in:
@@ -22,7 +22,7 @@ const ConditionNode = ({ node, disabled, branchId, branchIndex }: ConditionNodeP
|
||||
|
||||
const handleNodeNameBlur = (e: React.FocusEvent<HTMLDivElement>) => {
|
||||
const oldName = node.name;
|
||||
const newName = e.target.innerText.trim();
|
||||
const newName = e.target.innerText.trim().substring(0, 64);
|
||||
if (oldName === newName) {
|
||||
return;
|
||||
}
|
||||
@@ -34,6 +34,8 @@ const ConditionNode = ({ node, disabled, branchId, branchIndex }: ConditionNodeP
|
||||
);
|
||||
};
|
||||
|
||||
// TODO: 条件分支
|
||||
|
||||
return (
|
||||
<>
|
||||
<Popover
|
||||
|
||||
Reference in New Issue
Block a user