feat: 完成多品牌隔离专项验收

This commit is contained in:
que01 committed 2026-09-23 13:22:28 +08:00
1 parent 1a2f179e15
commit dcb40f629b
16 files changed
+197 -51

No files matched your search

+3 -1
View File
@@ -146,7 +146,9 @@ function Dashboard({ onLogout }: { onLogout: () => void }) {
size="small"
value={brand.data?.id}
loading={memberships.isLoading}
onChange={(value) => void switchBrand(value)}
onChange={(value) => {
if (value) void switchBrand(value);
}}
options={(memberships.data ?? []).map((item) => ({
value: item.brand.id,
label: item.brand.name,