添加客户查询页面包括导航权限控制 & 删除多余代码
This commit is contained in:
@@ -13,6 +13,7 @@ import {
|
||||
KeyRound,
|
||||
type LucideIcon,
|
||||
Package,
|
||||
ScanSearch,
|
||||
Shield,
|
||||
ShoppingBag,
|
||||
SquarePercent,
|
||||
@@ -46,6 +47,7 @@ import {
|
||||
ScopeResourceRead,
|
||||
ScopeTradeRead,
|
||||
ScopeUserRead,
|
||||
ScopeUserReadNotBind,
|
||||
ScopeUserReadOne,
|
||||
} from "@/lib/scopes"
|
||||
|
||||
@@ -169,6 +171,12 @@ const menuSections: { title: string; items: NavItemProps[] }[] = [
|
||||
href: "/user",
|
||||
icon: Users,
|
||||
label: "客户认领",
|
||||
requiredScope: ScopeUserReadNotBind,
|
||||
},
|
||||
{
|
||||
href: "/userQuery",
|
||||
icon: ScanSearch,
|
||||
label: "客户查询",
|
||||
requiredScope: ScopeUserReadOne,
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user