[fix]:[FL-89][杆塔模型管理页面:统一初始化加载状态展示]

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
chengkai3
2026-06-19 17:15:20 +08:00
parent cb87f3832b
commit 1309251017
+5 -2
View File
@@ -30,7 +30,6 @@ import type { ColumnsType } from "antd/es/table";
import { useCallback, useEffect, useMemo, useRef, useState, type CSSProperties, type ComponentType } from "react";
import { useAuth } from "@/components/auth-provider";
import { AdminPageLoading } from "@/components/admin-page-loading";
import { useToastFeedback } from "@/hooks/use-toast-feedback";
import { useTopicSubscription } from "@/hooks/use-topic-subscription";
import { useMobileDetection } from "@/hooks/use-mobile-detection";
@@ -750,7 +749,11 @@ export default function AdminTowerModelsPage() {
const mounts = mountsQuery.data?.mounts ?? [];
if (initializing) {
return <AdminPageLoading tip="初始化中..." minHeightClassName="min-h-[280px]" />;
return (
<div className="flex min-h-[240px] items-center justify-center">
<Spin tip="初始化中..." />
</div>
);
}
if (!user) {