fix(ui): 完善界面交互与开发配置
This commit is contained in:
@@ -18,7 +18,13 @@ For commercial licensing, please contact support@quantumnous.com
|
||||
*/
|
||||
|
||||
import React, { useEffect, useState } from 'react';
|
||||
import { Alert, Button, Descriptions, Drawer, Spin, Table, Tag } from 'antd';
|
||||
import { Button, Descriptions, Spin, Tag } from 'antd';
|
||||
import { Table } from '@/components/ui';
|
||||
import {
|
||||
ConsoleAlert as Alert,
|
||||
ConsoleDrawer as Drawer,
|
||||
} from '../../components/console/ConsolePrimitives';
|
||||
import { useCommissionThemeStyle } from './commissionTheme';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { commissionActorName, commissionLabel, statusTagColor } from './labels';
|
||||
import { EvidenceLink } from './operations';
|
||||
@@ -31,6 +37,7 @@ export default function PartnerDetail({
|
||||
onClose,
|
||||
onEdit,
|
||||
}) {
|
||||
const themeStyle = useCommissionThemeStyle();
|
||||
const { t, i18n } = useTranslation();
|
||||
const [record, setRecord] = useState(null);
|
||||
const [error, setError] = useState('');
|
||||
@@ -65,6 +72,7 @@ export default function PartnerDetail({
|
||||
);
|
||||
return (
|
||||
<Drawer
|
||||
rootStyle={themeStyle}
|
||||
rootClassName='commission-profile-drawer commission-detail-drawer'
|
||||
title={
|
||||
<span>
|
||||
|
||||
Reference in New Issue
Block a user