Commit 998e7833 by heheer Committed by GitHub

fix: workflow plugin module default input value (#2257)

parent 110bf939
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment