This commit is contained in:
EricGao888 2024-04-26 10:24:46 +08:00
parent 3e95333247
commit 1021698cce
1 changed files with 0 additions and 18 deletions

View File

@ -213,30 +213,12 @@ export function useAliyunServerlessSpark(model: { [field: string]: any }): IJson
}
},
// todo: make it a switch
{
type: 'switch',
field: 'isProduction',
name: t('project.node.is_production'),
span: 12
},
// {
// type: 'input',
// field: 'isProduction',
// name: t('project.node.is_production'),
// props: {
// placeholder: t('project.node.is_production_tips')
// },
// validate: {
// trigger: ['input', 'blur'],
// required: true,
// validator(validate: any, value: string) {
// if (!value) {
// return new Error(t('project.node.is_production_tips'))
// }
// }
// }
// },
...useCustomParams({ model, field: 'localParams', isSimple: false })
]