feat(edit): 编辑页开发
This commit is contained in:
@@ -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: '设置' },
|
||||
|
||||
Reference in New Issue
Block a user