feat: check before run

This commit is contained in:
Joel
2024-03-15 17:00:54 +08:00
parent 68f947c7e0
commit ff5ab43f9c
4 changed files with 51 additions and 20 deletions

View File

@ -48,12 +48,6 @@ const useConfig = (id: string, payload: CodeNodeType) => {
id,
data: inputs,
defaultRunInputData: {},
beforeRunCheckValid: () => {
return {
isValid: true,
// errorMessage: 'xxxx',
}
},
})
const varInputs = toVarInputs(inputs.variables)