From 6235f0e09bee42116a41ec6e7595592218572977 Mon Sep 17 00:00:00 2001 From: asp_ly Date: Mon, 20 Jan 2025 09:56:35 +0800 Subject: [PATCH] 1 --- .../Deployment/List/components/DeploymentConfigModal.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/src/pages/Deploy/Deployment/List/components/DeploymentConfigModal.tsx b/frontend/src/pages/Deploy/Deployment/List/components/DeploymentConfigModal.tsx index 404c4639..f140317b 100644 --- a/frontend/src/pages/Deploy/Deployment/List/components/DeploymentConfigModal.tsx +++ b/frontend/src/pages/Deploy/Deployment/List/components/DeploymentConfigModal.tsx @@ -131,7 +131,7 @@ const DeploymentConfigModal: React.FC = ({ const schema: ISchema = { type: 'object', properties: { - layout: { + jenkinsConfig: { type: 'void', 'x-component': 'FormGrid', 'x-component-props': { @@ -226,7 +226,7 @@ const DeploymentConfigModal: React.FC = ({ }, } }, - environmentVariables: { + envConfig: { type: 'void', 'x-component': 'FormGrid', 'x-component-props': { @@ -379,6 +379,8 @@ const DeploymentConfigModal: React.FC = ({ 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) {