feat: 自行开发设计 ui样式优化 超管端-控制台 相关的页面
This commit is contained in:
@@ -18,12 +18,9 @@ For commercial licensing, please contact support@quantumnous.com
|
||||
*/
|
||||
|
||||
import React, { useState, useEffect } from 'react';
|
||||
import { Modal, Table, Tag, Empty, Spin } from '@/components/ui';
|
||||
import { Modal, Table, Tag, Spin } from '@/components/ui';
|
||||
import { API, renderQuota, renderNumber, showError } from '../../../../helpers';
|
||||
import {
|
||||
IllustrationNoResult,
|
||||
IllustrationNoResultDark,
|
||||
} from '../../../common/illustrations';
|
||||
import TableEmpty from '../../../common/table/TableEmpty';
|
||||
|
||||
const InvitedUsersModal = ({ visible, onCancel, user, t }) => {
|
||||
const [invitedUsers, setInvitedUsers] = useState([]);
|
||||
@@ -162,18 +159,7 @@ const InvitedUsersModal = ({ visible, onCancel, user, t }) => {
|
||||
dataSource={invitedUsers}
|
||||
pagination={false}
|
||||
size='small'
|
||||
empty={
|
||||
<Empty
|
||||
image={
|
||||
<IllustrationNoResult style={{ width: 150, height: 150 }} />
|
||||
}
|
||||
darkModeImage={
|
||||
<IllustrationNoResultDark style={{ width: 150, height: 150 }} />
|
||||
}
|
||||
description={t('该用户暂未邀请任何用户')}
|
||||
style={{ padding: 30 }}
|
||||
/>
|
||||
}
|
||||
empty={<TableEmpty />}
|
||||
style={{ maxHeight: '500px', overflowY: 'auto' }}
|
||||
/>
|
||||
</Spin>
|
||||
|
||||
Reference in New Issue
Block a user