用户端打包

This commit is contained in:
Lrd
2026-07-03 13:15:45 +08:00
parent 778a89cabb
commit 741b138a22
3 changed files with 54 additions and 40 deletions
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -28,7 +28,7 @@
}
})();
</script>
<script type="module" crossorigin src="/assets/index-BRAajPcM.js"></script>
<script type="module" crossorigin src="/assets/index-CyYhkNba.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-D9_3MPsN.css">
</head>
<body>
+16 -2
View File
@@ -1,5 +1,5 @@
import React, { useEffect, useState, useRef } from 'react';
import { Button, Empty, Input, Select, Space, Typography, Tag, message, Modal, Table, DatePicker, Tabs, Transfer, Tooltip } from 'antd';
import { Button, Empty, Input, Select, Space, Typography, Tag, message, Modal, Table, DatePicker, Tabs, Transfer, Tooltip, Spin } from 'antd';
import dayjs from 'dayjs';
import JSZip from 'jszip';
import {
@@ -15,6 +15,7 @@ import {
StarOutlined,
PlayCircleOutlined,
DeleteOutlined,
LoadingOutlined,
} from '@ant-design/icons';
import { gethistory, gethistoryItems, getOAuthList, asyncBatchUploadMaterial, updateFilename, getUploadHistory, getAllOAuthAccountList, getOpenTypeAll, getPreTestList, getDefaultPreTest, deleteHistory, deleteResourcesMaterial } from '../api';
@@ -1185,7 +1186,20 @@ const GeneratedRecord: React.FC = () => {
</Button>
</div>
{/* Content area */}
{recordlist.length === 0 ? (
{loading ? (
<div style={{
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
minHeight: '400px',
}}>
<Spin
indicator={<LoadingOutlined style={{ fontSize: 24, color: '#64748b' }} spin />}
tip="加载中..."
size="large"
/>
</div>
) : recordlist.length === 0 ? (
<Empty
image={Empty.PRESENTED_IMAGE_SIMPLE}
description="暂无生成记录"