feat: 自行开发设计 ui样式优化 超管端-控制台 相关的页面

This commit is contained in:
zhanjunhao
2026-11-09 21:45:37 +08:00
parent 6ad95e2baa
commit 5713d541b0
242 changed files with 9242 additions and 5043 deletions
+7 -4
View File
@@ -18,7 +18,8 @@ For commercial licensing, please contact support@quantumnous.com
*/
import React from 'react';
import { Button } from '@/components/ui';
import { Button } from 'antd';
import { Plus } from 'lucide-react';
import { isAdmin } from '../../../helpers';
const UsersActions = ({ setShowAddUser, t }) => {
@@ -28,12 +29,14 @@ const UsersActions = ({ setShowAddUser, t }) => {
};
return (
<div className='flex gap-2 w-full md:w-auto order-2 md:order-1'>
<div className='flex justify-end gap-2'>
{isAdmin() && (
<Button
className='w-full md:w-auto'
className='console-create-action'
type='primary'
icon={<Plus size={16} />}
onClick={handleAddUser}
size='small'
size='middle'
>
{t('添加用户')}
</Button>