feat: 合并代码后 系统设置 ui样式优化、bug修复、全局统一图标对齐等
This commit is contained in:
@@ -17,16 +17,14 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
For commercial licensing, please contact support@quantumnous.com
|
||||
*/
|
||||
|
||||
import {
|
||||
Home as ActionHome,
|
||||
RefreshCw as ActionRefreshCw,
|
||||
} from '@/components/common/icons/ActionIcons';
|
||||
import React, { useState, useCallback, useEffect, useContext } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
import {
|
||||
Building2,
|
||||
AlertTriangle,
|
||||
RefreshCw,
|
||||
HelpCircle,
|
||||
Home,
|
||||
} from 'lucide-react';
|
||||
import { Building2, AlertTriangle, HelpCircle } from 'lucide-react';
|
||||
import { Button } from '@/components/ui';
|
||||
import { API } from '../../helpers/api';
|
||||
import { UserContext } from '../../context/User';
|
||||
@@ -118,9 +116,9 @@ const OrgResolver = ({
|
||||
<div className='mt-6 text-center'>
|
||||
<button
|
||||
onClick={() => navigate('/')}
|
||||
className='inline-flex items-center gap-1.5 text-sm text-gray-400 dark:text-gray-500 hover:text-brand-deep transition-colors'
|
||||
className='app-action-button inline-flex items-center gap-1.5 text-sm text-gray-400 dark:text-gray-500 hover:text-brand-deep transition-colors'
|
||||
>
|
||||
<Home size={14} />
|
||||
<ActionHome size={14} />
|
||||
{t('返回首页')}
|
||||
</button>
|
||||
</div>
|
||||
@@ -167,7 +165,7 @@ const OrgResolver = ({
|
||||
<Button
|
||||
size='large'
|
||||
block
|
||||
icon={<RefreshCw size={16} />}
|
||||
icon={<ActionRefreshCw size={16} />}
|
||||
onClick={() => runCheck()}
|
||||
className='mt-4'
|
||||
>
|
||||
@@ -230,7 +228,7 @@ const OrgResolver = ({
|
||||
<Button
|
||||
size='large'
|
||||
block
|
||||
icon={<RefreshCw size={16} />}
|
||||
icon={<ActionRefreshCw size={16} />}
|
||||
onClick={() => runCheck()}
|
||||
className='mt-4'
|
||||
>
|
||||
@@ -260,7 +258,7 @@ const OrgResolver = ({
|
||||
type='primary'
|
||||
size='large'
|
||||
block
|
||||
icon={<RefreshCw size={16} />}
|
||||
icon={<ActionRefreshCw size={16} />}
|
||||
onClick={() => runCheck(true)}
|
||||
>
|
||||
{t('重试')}
|
||||
|
||||
Reference in New Issue
Block a user