fix: 修复两个 TypeScript 编译错误
Deploy / Deploy Staging (push) Failing after 1m10s
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
Tests / test (pull_request) Has been cancelled
Tests / lint (pull_request) Has been cancelled
Deploy / Deploy Staging (push) Failing after 1m10s
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
Tests / test (pull_request) Has been cancelled
Tests / lint (pull_request) Has been cancelled
1. ProjectAssets.tsx: 将 asset.size 改为 asset.file_size(与 AssetItem 接口一致) 2. ProjectGeneration.tsx: 将 ant-design/icons 改为 @ant-design/icons(正确的包名) Fixes CI build errors
This commit is contained in:
@@ -79,7 +79,7 @@ const ProjectAssets: React.FC = () => {
|
||||
{asset.status === 'processing' ? '⏳ 处理中' : '✓ 就绪'}
|
||||
</span>
|
||||
<b>{asset.name}</b>
|
||||
<p>{(asset.size / 1024 / 1024).toFixed(2)} MB</p>
|
||||
<p>{(asset.file_size / 1024 / 1024).toFixed(2)} MB</p>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
import React, { useState, useEffect } from "react";
|
||||
import { Select, Modal, Form, message, Radio, Spin, Tooltip, Button, Empty, Tag } from "antd";
|
||||
import { AutoGenerateOutlined, PlayCircleOutlined, DeleteOutlined, CheckCircleOutlined } from "ant-design/icons";
|
||||
import { AutoGenerateOutlined, PlayCircleOutlined, DeleteOutlined, CheckCircleOutlined } from "@ant-design/icons";
|
||||
import "./ProjectGeneration.css";
|
||||
import { autoGenerateEditPlan, getEditPlans, deleteEditPlan, EditingMode, EditPlanItem, EditPlanClipItem } from "@/api/editPlans";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user