feat: 合并代码后 系统设置 ui样式优化、bug修复、全局统一图标对齐等
This commit is contained in:
@@ -17,6 +17,11 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
For commercial licensing, please contact support@quantumnous.com
|
||||
*/
|
||||
|
||||
import {
|
||||
Zap as ActionZap,
|
||||
ChevronRight as ActionChevronRight,
|
||||
RefreshCw as ActionRefreshCw,
|
||||
} from '@/components/common/icons/ActionIcons';
|
||||
import React, { useState, useEffect, useCallback, useMemo } from 'react';
|
||||
import {
|
||||
Empty,
|
||||
@@ -28,7 +33,7 @@ import {
|
||||
Statistic,
|
||||
theme,
|
||||
} from 'antd';
|
||||
import { RefreshCw, Server, ChevronRight, Zap, Clock } from 'lucide-react';
|
||||
import { Server, ChevronRight, Clock } from 'lucide-react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { API, showError } from '../../helpers';
|
||||
import { isAdmin } from '../../helpers/utils';
|
||||
@@ -175,7 +180,7 @@ const TestModelCell = ({ modelName, groupName, t }) => {
|
||||
return (
|
||||
<div className='flex items-center gap-3'>
|
||||
<Button size='small' loading={testing} onClick={handleTest}>
|
||||
<Zap size={12} className='mr-1' />
|
||||
<ActionZap size={12} className='mr-1' />
|
||||
{testing ? t('测试中') : t('测试')}
|
||||
</Button>
|
||||
{result && (
|
||||
@@ -548,7 +553,7 @@ const GroupMonitor = () => {
|
||||
}}
|
||||
>
|
||||
{t('详情')}
|
||||
<ChevronRight
|
||||
<ActionChevronRight
|
||||
size={16}
|
||||
className='transition-transform group-hover:translate-x-0.5'
|
||||
/>
|
||||
@@ -677,7 +682,7 @@ const GroupMonitor = () => {
|
||||
|
||||
<Button
|
||||
icon={
|
||||
<RefreshCw
|
||||
<ActionRefreshCw
|
||||
className={`w-4 h-4 ${refreshing ? 'animate-spin' : ''}`}
|
||||
/>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user