修复less导入污染全局
This commit is contained in:
@ -4,7 +4,7 @@ import { Card, Table, Button, Modal, Form, Input, Space, message, Select, TreeSe
|
||||
import { PlusOutlined, DeleteOutlined, ExclamationCircleOutlined, EditOutlined } from '@ant-design/icons';
|
||||
import { getCategoryList, getAllCategories, addCategory, updateCategory, deleteCategory } from '@/servers/api/friendLink';
|
||||
import { useFriendLinkDict } from '@/dicts/friendLinkDict';
|
||||
import './friendLinkManage.less';
|
||||
import styles from './friendLinkManage.less';
|
||||
|
||||
const { Option } = Select;
|
||||
const { TextArea } = Input;
|
||||
@ -203,23 +203,31 @@ const FriendLinkCategory: React.FC = () => {
|
||||
];
|
||||
|
||||
return (
|
||||
<div className="friend-link-category-container common-container">
|
||||
<div className="action-bar">
|
||||
<Button type="primary" icon={<PlusOutlined />} onClick={handleAddCategory}>
|
||||
{intl.formatMessage({ id: 'friendLink.category.add' })}
|
||||
</Button>
|
||||
</div>
|
||||
<div className="common-container">
|
||||
<div className="filter-action-row">
|
||||
<div></div>
|
||||
<div className="right-buttons">
|
||||
<Button
|
||||
type="primary"
|
||||
ghost
|
||||
icon={<PlusOutlined />}
|
||||
onClick={handleAddCategory}
|
||||
>
|
||||
{intl.formatMessage({ id: 'friendLink.category.add' })}
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className='content-area'>
|
||||
<Table
|
||||
rowKey="id"
|
||||
columns={columns}
|
||||
dataSource={categoryData}
|
||||
loading={loading}
|
||||
pagination={pagination}
|
||||
onChange={handleTableChange}
|
||||
/>
|
||||
</div>
|
||||
<div className="content-area">
|
||||
<Table
|
||||
rowKey="id"
|
||||
columns={columns}
|
||||
dataSource={categoryData}
|
||||
loading={loading}
|
||||
pagination={pagination}
|
||||
onChange={handleTableChange}
|
||||
/>
|
||||
</div>
|
||||
|
||||
{/* 新增/编辑分类模态框 */}
|
||||
<Modal
|
||||
|
Reference in New Issue
Block a user