fix: 优化日志

This commit is contained in:
2026-01-08 21:39:52 +08:00
parent db2b2af0d3
commit 82da2a1a04
7 changed files with 49 additions and 89 deletions

View File

@@ -725,7 +725,6 @@ function ProjectDetailPage() {
item={item}
isSelected={selectedRecordId === item.id}
onSelect={setSelectedRecordId}
onRetry={handleRetryDeployment} // 传递重新执行函数
/>
);

View File

@@ -212,10 +212,7 @@ class DetailService {
}
// 更新项目
async updateProject(
id: number,
project: Partial<Project>,
) {
async updateProject(id: number, project: Partial<Project>) {
const { data } = await net.request<APIResponse<Project>>({
url: `/api/projects/${id}`,
method: 'PUT',

View File

@@ -1,10 +1,4 @@
import {
Button,
Form,
Input,
Message,
Modal,
} from '@arco-design/web-react';
import { Button, Form, Input, Message, Modal } from '@arco-design/web-react';
import { useState } from 'react';
import type { Project } from '../../types';
import { projectService } from '../service';