feat: 合并代码后 系统设置 ui样式优化、bug修复、全局统一图标对齐等
This commit is contained in:
@@ -17,10 +17,10 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
For commercial licensing, please contact support@quantumnous.com
|
||||
*/
|
||||
|
||||
import { Copy as ActionCopy } from '@/components/common/icons/ActionIcons';
|
||||
import React from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { Button, Toast, Banner } from '@/components/ui';
|
||||
import { Copy } from 'lucide-react';
|
||||
import { copy as copyText } from '../../helpers/utils';
|
||||
|
||||
/**
|
||||
@@ -69,7 +69,7 @@ const OrgCredentialResult = ({ creds, onLogin }) => {
|
||||
<Button
|
||||
size='small'
|
||||
theme='borderless'
|
||||
icon={<Copy size={14} />}
|
||||
icon={<ActionCopy size={14} />}
|
||||
onClick={() => copy(value)}
|
||||
aria-label={t('复制')}
|
||||
/>
|
||||
@@ -98,7 +98,12 @@ const OrgCredentialResult = ({ creds, onLogin }) => {
|
||||
<Row label={t('登录名')} value={creds.owner_login_name} mono />
|
||||
<Row label={t('初始密码')} value={creds.initial_password} mono />
|
||||
</div>
|
||||
<Button size='large' block icon={<Copy size={14} />} onClick={copyAll}>
|
||||
<Button
|
||||
size='large'
|
||||
block
|
||||
icon={<ActionCopy size={14} />}
|
||||
onClick={copyAll}
|
||||
>
|
||||
{t('复制全部凭证')}
|
||||
</Button>
|
||||
{onLogin && (
|
||||
|
||||
Reference in New Issue
Block a user