feat: 完善后台配置工作台

This commit is contained in:
que01 committed 2026-09-27 19:11:01 +08:00
1 parent d7e5b64d84
commit 07d3790aa8
4 files changed
+96 -24

No files matched your search

+5 -1
View File
@@ -12,6 +12,7 @@ import {
Menu,
Select,
Space,
Tag,
Typography,
message,
} from "antd";
@@ -206,7 +207,7 @@ function Dashboard({ onLogout, role }: { onLogout: () => void; role: string }) {
];
return (
<Layout style={{ minHeight: "100vh" }}>
<Layout.Sider>
<Layout.Sider breakpoint="lg" collapsedWidth={0}>
<Typography.Title level={4} style={{ color: "white", padding: 20 }}>
当前品牌工作区
</Typography.Title>
@@ -229,6 +230,9 @@ function Dashboard({ onLogout, role }: { onLogout: () => void; role: string }) {
<Space>
<Typography.Text strong>{brand.data?.name || "当前品牌"}</Typography.Text>
<Typography.Text type="secondary">品牌工作区</Typography.Text>
<Tag color={role === "owner" ? "blue" : "default"}>
{role === "owner" ? "负责人" : "内容编辑"}
</Tag>
<Select
size="small"
value={brand.data?.id}