mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 05:12:39 +00:00
fix: workflow plugin module default input value (#2257)
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user