feat: 合并代码后 系统设置 ui样式优化、bug修复、全局统一图标对齐等
This commit is contained in:
@@ -17,16 +17,10 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
For commercial licensing, please contact support@quantumnous.com
|
||||
*/
|
||||
|
||||
import { Download as ActionDownload } from '@/components/common/icons/ActionIcons';
|
||||
import React from 'react';
|
||||
import { Button } from '@/components/ui';
|
||||
import {
|
||||
ListTodo,
|
||||
Clock,
|
||||
CheckCircle2,
|
||||
Download,
|
||||
XCircle,
|
||||
Loader2,
|
||||
} from 'lucide-react';
|
||||
import { ListTodo, Clock, CheckCircle2, XCircle, Loader2 } from 'lucide-react';
|
||||
import { exportToCsv, formatTimestampForCsv } from '../../../helpers/exportCsv';
|
||||
import { Space, Statistic } from 'antd';
|
||||
import { useConsolePage } from '../../console/ConsoleContext';
|
||||
@@ -120,7 +114,7 @@ const TaskLogsActions = ({
|
||||
<Space wrap>
|
||||
{stats.pendingCount > 0 && <span>{t('实时更新中')}</span>}
|
||||
<Button
|
||||
icon={<Download size={16} />}
|
||||
icon={<ActionDownload size={16} />}
|
||||
onClick={handleExportCsv}
|
||||
disabled={!logs.length}
|
||||
>
|
||||
@@ -249,7 +243,7 @@ const TaskLogsActions = ({
|
||||
{/* 导出当前页为 CSV,空列表时禁用避免生成只有表头的无用文件 */}
|
||||
<Button
|
||||
size='small'
|
||||
icon={<Download className='w-3.5 h-3.5' />}
|
||||
icon={<ActionDownload className='w-3.5 h-3.5' />}
|
||||
onClick={handleExportCsv}
|
||||
disabled={!logs || logs.length === 0}
|
||||
className={exportButtonClass}
|
||||
|
||||
Reference in New Issue
Block a user