feat:寄卖增加对接客服,页面移动到接单平台
This commit is contained in:
@@ -4,7 +4,6 @@ import {
|
||||
ApartmentOutlined,
|
||||
BellOutlined,
|
||||
BugOutlined,
|
||||
CustomerServiceOutlined,
|
||||
DashboardOutlined,
|
||||
FileSearchOutlined,
|
||||
LogoutOutlined,
|
||||
@@ -284,11 +283,6 @@ export default function AdminLayout() {
|
||||
label: '配置',
|
||||
children: [
|
||||
{ key: '/admin/users', icon: <TeamOutlined />, label: '后台用户' },
|
||||
{
|
||||
key: '/admin/consignment-contacts',
|
||||
icon: <CustomerServiceOutlined />,
|
||||
label: '对接客服',
|
||||
},
|
||||
{ key: '/admin/platform-shops', icon: <SettingOutlined />, label: '平台配置' },
|
||||
{ key: '/admin/platform-fulfillment', icon: <ShopOutlined />, label: '履约配置' },
|
||||
],
|
||||
@@ -857,7 +851,8 @@ function resolveSelectedKey(pathname: string) {
|
||||
if (pathname.startsWith('/admin/finance')) return '/admin/finance'
|
||||
if (pathname.startsWith('/admin/tasks')) return '/admin/tasks'
|
||||
if (pathname.startsWith('/admin/worker-platform')) return '/admin/worker-platform'
|
||||
if (pathname.startsWith('/admin/consignment-contacts')) return '/admin/consignment-contacts'
|
||||
// 旧「配置 → 对接客服」地址已并入接单平台 tab,保留高亮兼容。
|
||||
if (pathname.startsWith('/admin/consignment-contacts')) return '/admin/worker-platform'
|
||||
if (pathname.startsWith('/admin/kuaishou-industry')) return '/admin/kuaishou-industry'
|
||||
if (pathname === '/admin/platform-shops') return '/admin/platform-shops'
|
||||
return pathname
|
||||
|
||||
Reference in New Issue
Block a user