Merge branch 'feat/trigger' of https://github.com/langgenius/dify into feat/trigger

This commit is contained in:
lyzno1
2025-10-30 17:11:08 +08:00
32 changed files with 153 additions and 144 deletions

View File

@ -315,7 +315,7 @@ const FormInputItem: FC<Props> = ({
onChange({
...value,
[variable]: {
...(varInput || {}),
...varInput,
type: VarKindType.constant,
value: selected,
},

View File

@ -186,7 +186,7 @@ const useConfig = (id: string, payload: PluginTriggerNodeType) => {
(variable: InputVar, varDetail: InputVar) => {
const newInputs = produce(inputs, (draft) => {
const nextEventParameters = normalizeEventParameters({
...(draft.event_parameters || {}),
...draft.event_parameters,
[variable.variable]: {
type: VarKindType.variable,
value: varDetail.variable,