fix: workflow plugin module default input value (#2257)
This commit is contained in:
parent
110bf9391f
commit
998e7833e8
@ -125,6 +125,7 @@ export const getAppChatConfig = ({
|
||||
|
||||
export const getOrInitModuleInputValue = (input: FlowNodeInputItemType) => {
|
||||
if (input.value !== undefined || !input.valueType) return input.value;
|
||||
if (input.defaultValue !== undefined) return input.defaultValue;
|
||||
|
||||
const map: Record<string, any> = {
|
||||
[WorkflowIOValueTypeEnum.boolean]: false,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user