feat(edit): 编辑页开发

This commit is contained in:
R524809
2026-09-11 17:28:58 +08:00
parent 1b03ea5871
commit da7342b466
21 changed files with 1910 additions and 857 deletions
+14
View File
@@ -1,5 +1,6 @@
import {
CalculatorOutlined,
BugOutlined,
CodeSandboxOutlined,
EditOutlined,
GlobalOutlined,
@@ -37,6 +38,13 @@ export const routeMenuConfig: RouteMenuConfig[] = [
icon: <InboxOutlined />,
label: '采集箱',
},
{
// 放在 /shops 之前,避免前缀匹配时被“店铺管理”抢先选中。
path: '/shops/category-tree-debug',
key: '/shops/category-tree-debug',
icon: <BugOutlined />,
label: '调试',
},
{
path: '/shops',
key: '/shops',
@@ -70,6 +78,12 @@ export const getBreadcrumbItems = (path: string): BreadcrumbCrumb[] => {
{ icon: <EditOutlined />, label: '商品编辑' },
];
}
if (path === '/shops/category-tree-debug') {
return [
{ icon: <ShopOutlined />, label: '店铺管理' },
{ icon: <BugOutlined />, label: 'Ozon 类目树调试' },
];
}
if (path === '/settings/profile') {
return [
{ icon: <SettingOutlined />, label: '设置' },