fix(customers): 业务员角色隐藏商户导出功能

前端隐藏导出按钮,并在导出接口校验超管权限,防止绕过。
This commit is contained in:
2026-07-13 17:48:22 +08:00
parent 2c1612544b
commit c54ec4355d
3 changed files with 19 additions and 7 deletions
+1
View File
@@ -56,6 +56,7 @@ export default async function CustomersPage({
defaultStart={sp.start}
defaultEnd={sp.end}
exportHref={`/customers/export?${exportQs.toString()}`}
canExport={superAdmin}
/>
<Card className="overflow-hidden">