更新
This commit is contained in:
16
frontend/src/pages/RoutePlaceholderPage/index.tsx
Normal file
16
frontend/src/pages/RoutePlaceholderPage/index.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import { AppCard } from "@/components";
|
||||
import { useLocation } from "react-router-dom";
|
||||
import "./index.scss";
|
||||
|
||||
export function RoutePlaceholderPage() {
|
||||
const location = useLocation();
|
||||
|
||||
return (
|
||||
<div className="route-placeholder">
|
||||
<AppCard title="动态路由占位页">
|
||||
<p>当前路由:{location.pathname}</p>
|
||||
<p>这里先用于承接动态菜单和页面挂载,后续再补真实业务实现。</p>
|
||||
</AppCard>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user