4.8.13 perf (#3112)

* fix: share page load title error

* update file input doc

* perf: auto add file urls

* perf: auto ser loop node offset height
This commit is contained in:
Archer
2024-11-11 14:35:17 +08:00
committed by archer
parent acdf6a0dd9
commit d758ddb47c
12 changed files with 106 additions and 83 deletions

View File

@@ -199,6 +199,7 @@ export enum NodeInputKeyEnum {
childrenNodeIdList = 'childrenNodeIdList',
nodeWidth = 'nodeWidth',
nodeHeight = 'nodeHeight',
loopNodeInputHeight = 'loopNodeInputHeight',
// loop start
loopStartInput = 'loopStartInput',
loopStartIndex = 'loopStartIndex',

View File

@@ -113,6 +113,13 @@ export const Input_Template_Node_Height: FlowNodeInputItemType = {
label: '',
value: 600
};
export const Input_Template_LOOP_NODE_OFFSET: FlowNodeInputItemType = {
key: NodeInputKeyEnum.loopNodeInputHeight,
renderTypeList: [FlowNodeInputTypeEnum.hidden],
valueType: WorkflowIOValueTypeEnum.number,
label: '',
value: 320
};
export const Input_Template_Stream_MODE: FlowNodeInputItemType = {
key: NodeInputKeyEnum.forbidStream,

View File

@@ -14,6 +14,7 @@ import { getHandleConfig } from '../../utils';
import { i18nT } from '../../../../../../web/i18n/utils';
import {
Input_Template_Children_Node_List,
Input_Template_LOOP_NODE_OFFSET,
Input_Template_Node_Height,
Input_Template_Node_Width
} from '../../input';
@@ -40,7 +41,8 @@ export const LoopNode: FlowNodeTemplateType = {
},
Input_Template_Children_Node_List,
Input_Template_Node_Width,
Input_Template_Node_Height
Input_Template_Node_Height,
Input_Template_LOOP_NODE_OFFSET
],
outputs: [
{