From d26274d89d377067c1e2648192cffbf89464b361 Mon Sep 17 00:00:00 2001
From: wsj <593216709@qq.com>
Date: Wed, 28 Oct 2026 23:34:32 +0800
Subject: [PATCH] feat: 拆包

---
 src/components/PageLoading.tsx |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/components/PageLoading.tsx b/src/components/PageLoading.tsx
new file mode 100644
index 0000000..feb96e9
--- /dev/null
+++ b/src/components/PageLoading.tsx
@@ -0,0 +1,12 @@
+import { Spin } from 'antd';
+import './PageLoading.scss';
+
+/** 路由懒加载时的占位内容,尽量保持内容区高度,避免页面跳动。 */
+const PageLoading = () => (
+  <div className="page-loading" role="status" aria-live="polite">
+    <Spin size="large" />
+    <span className="page-loading__text">页面加载中…</span>
+  </div>
+);
+
+export default PageLoading;

--
Gitblit v1.9.3