feat: 1.统一右侧抽屉关闭按钮布局 2.统一 UI 组件为 Ant Design 移除 radix-ui、floating-ui 组件 3. 修复 ESLint 文件格式错误的问题

This commit is contained in:
zhanjunhao
2026-11-10 14:08:10 +08:00
parent 28e924e371
commit 584728590b
202 changed files with 29195 additions and 12732 deletions
+4 -4
View File
@@ -127,7 +127,7 @@ const OrgRecharge = ({ orgId }) => {
const [historyLoading, setHistoryLoading] = useState(false);
const [refreshHistory, setRefreshHistory] = useState(0);
const orgHeaders = { 'X-Org-Id': String(orgId) };
const orgHeaders = useMemo(() => ({ 'X-Org-Id': String(orgId) }), [orgId]);
// 获取企业配额
const fetchOrgQuota = useCallback(async () => {
@@ -141,7 +141,7 @@ const OrgRecharge = ({ orgId }) => {
} catch (e) {
// ignore
}
}, [orgId]);
}, [orgHeaders]);
// 获取充值配置
const fetchTopUpInfo = useCallback(async () => {
@@ -180,7 +180,7 @@ const OrgRecharge = ({ orgId }) => {
} finally {
setInfoLoading(false);
}
}, [orgId]);
}, [orgHeaders, t]);
// 获取充值记录
const fetchHistory = useCallback(
@@ -206,7 +206,7 @@ const OrgRecharge = ({ orgId }) => {
setHistoryLoading(false);
}
},
[orgId, historyPageSize],
[historyPageSize, orgHeaders],
);
useEffect(() => {