功能:完善评论测试与优惠券最优选择
This commit is contained in:
@@ -209,6 +209,7 @@ import {
|
||||
HomeOutlined,
|
||||
IdcardOutlined,
|
||||
LogoutOutlined,
|
||||
MessageOutlined,
|
||||
MenuFoldOutlined,
|
||||
MenuOutlined,
|
||||
MenuUnfoldOutlined,
|
||||
@@ -258,6 +259,7 @@ const menuItems: AdminMenuItem[] = [
|
||||
{ key: '/admin/users', icon: UserOutlined, label: '用户管理', permissionCode: 'user:view' },
|
||||
{ key: '/admin/products', icon: ShopOutlined, label: '作品管理', permissionCode: 'product:view' },
|
||||
{ key: '/admin/coupons', icon: GiftOutlined, label: '优惠券管理', permissionCode: 'coupon:view' },
|
||||
{ key: '/admin/comments', icon: MessageOutlined, label: '评论管理', permissionCode: 'comment:view' },
|
||||
{ key: '/admin/shops', icon: HomeOutlined, label: '店铺管理', permissionCode: 'shop:view' },
|
||||
{ key: '/admin/permissions', icon: SafetyCertificateOutlined, label: '权限管理', permissionCode: 'permission:view' },
|
||||
{ key: '/admin/tags', icon: TagOutlined, label: '标签管理', permissionCode: 'tag:view' },
|
||||
@@ -313,6 +315,7 @@ const activeMobileTab = computed(() => {
|
||||
route.path.startsWith('/admin/users') ||
|
||||
route.path.startsWith('/admin/products') ||
|
||||
route.path.startsWith('/admin/coupons') ||
|
||||
route.path.startsWith('/admin/comments') ||
|
||||
route.path.startsWith('/admin/shops') ||
|
||||
route.path.startsWith('/admin/permissions') ||
|
||||
route.path.startsWith('/admin/tags') ||
|
||||
|
||||
Reference in New Issue
Block a user