fix: 优化日志
This commit is contained in:
@@ -725,7 +725,6 @@ function ProjectDetailPage() {
|
||||
item={item}
|
||||
isSelected={selectedRecordId === item.id}
|
||||
onSelect={setSelectedRecordId}
|
||||
onRetry={handleRetryDeployment} // 传递重新执行函数
|
||||
/>
|
||||
);
|
||||
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user