[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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user