This commit is contained in:
asp_ly 2025-01-20 09:56:35 +08:00
parent f64b9a8d72
commit 6235f0e09b

View File

@ -131,7 +131,7 @@ const DeploymentConfigModal: React.FC<DeploymentConfigModalProps> = ({
const schema: ISchema = {
type: 'object',
properties: {
layout: {
jenkinsConfig: {
type: 'void',
'x-component': 'FormGrid',
'x-component-props': {
@ -226,7 +226,7 @@ const DeploymentConfigModal: React.FC<DeploymentConfigModalProps> = ({
},
}
},
environmentVariables: {
envConfig: {
type: 'void',
'x-component': 'FormGrid',
'x-component-props': {
@ -379,6 +379,8 @@ const DeploymentConfigModal: React.FC<DeploymentConfigModalProps> = ({
try {
const values = await form.submit()
console.log('表单提交的值:', values)
console.log('Schema:', schema)
console.log('FORMILY', JSON.stringify(schema, null, 2))
onSuccess?.()
form.reset()
} catch (e) {