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:
@@ -199,6 +199,7 @@ export enum NodeInputKeyEnum {
|
||||
childrenNodeIdList = 'childrenNodeIdList',
|
||||
nodeWidth = 'nodeWidth',
|
||||
nodeHeight = 'nodeHeight',
|
||||
loopNodeInputHeight = 'loopNodeInputHeight',
|
||||
// loop start
|
||||
loopStartInput = 'loopStartInput',
|
||||
loopStartIndex = 'loopStartIndex',
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user