diff --git a/frontend/src/pages/Deploy/Deployment/List/components/DeploymentConfigModal.tsx b/frontend/src/pages/Deploy/Deployment/List/components/DeploymentConfigModal.tsx index f333f619..5d49954b 100644 --- a/frontend/src/pages/Deploy/Deployment/List/components/DeploymentConfigModal.tsx +++ b/frontend/src/pages/Deploy/Deployment/List/components/DeploymentConfigModal.tsx @@ -379,43 +379,58 @@ const DeploymentConfigModal: React.FC = ({open, onCa
- {fields.map((field, index) => ( -
- ( - - - - - - - )} - /> - ( - - - - - - - )} - /> - + {fields.length === 0 ? ( +
+
+ + + + +
+
暂无环境变量配置
+
+ 点击"添加变量"开始配置 +
- ))} + ) : ( + fields.map((field, index) => ( +
+ ( + + + + + + + )} + /> + ( + + + + + + + )} + /> + +
+ )) + )}