feat: 合并代码后 系统设置 ui样式优化、bug修复、全局统一图标对齐等
This commit is contained in:
@@ -17,6 +17,12 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
For commercial licensing, please contact support@quantumnous.com
|
||||
*/
|
||||
|
||||
import {
|
||||
Download as ActionDownload,
|
||||
Check as ActionCheck,
|
||||
Zap as ActionZap,
|
||||
RefreshCw as ActionRefreshCw,
|
||||
} from '@/components/common/icons/ActionIcons';
|
||||
import { writeClipboardText } from '../../helpers/clipboard';
|
||||
import React, { useState, useCallback, useEffect, useContext } from 'react';
|
||||
import { Navigate } from 'react-router-dom';
|
||||
@@ -39,8 +45,6 @@ import {
|
||||
} from '@/components/ui';
|
||||
import {
|
||||
Image,
|
||||
Download,
|
||||
RefreshCw,
|
||||
Settings,
|
||||
Zap,
|
||||
AlertCircle,
|
||||
@@ -369,7 +373,7 @@ const ImageGeneration = () => {
|
||||
theme='borderless'
|
||||
type='primary'
|
||||
icon={
|
||||
<Download
|
||||
<ActionDownload
|
||||
size={18}
|
||||
className='text-white hover:text-blue-400 transition-colors'
|
||||
/>
|
||||
@@ -383,7 +387,7 @@ const ImageGeneration = () => {
|
||||
theme='borderless'
|
||||
type='primary'
|
||||
icon={
|
||||
<Check
|
||||
<ActionCheck
|
||||
size={18}
|
||||
className='text-white hover:text-green-400 transition-colors'
|
||||
/>
|
||||
@@ -604,7 +608,7 @@ const ImageGeneration = () => {
|
||||
!selectedModel ||
|
||||
selectedModel.level_locked
|
||||
}
|
||||
icon={<Zap size={16} />}
|
||||
icon={<ActionZap size={16} />}
|
||||
className='w-full'
|
||||
>
|
||||
{isGenerating ? t('创建任务中...') : t('生成图片')}
|
||||
@@ -705,7 +709,7 @@ const ImageGeneration = () => {
|
||||
</h2>
|
||||
<Button
|
||||
type='tertiary'
|
||||
icon={<RefreshCw size={16} />}
|
||||
icon={<ActionRefreshCw size={16} />}
|
||||
onClick={() =>
|
||||
loadTasks(pagination.page, pagination.pageSize)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user