1
This commit is contained in:
parent
f64b9a8d72
commit
6235f0e09b
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user