Browse Source

feat: bug修复

BaiLuoYan 1 ngày trước cách đây
mục cha
commit
a2e933c6ad
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/pages/Admin/_shared/UserPermDrawer.tsx

+ 1 - 1
src/pages/Admin/_shared/UserPermDrawer.tsx

@@ -53,7 +53,7 @@ export const UserPermDrawer = ({
 
     const load = async () => {
       const [userRes, permRes, userPermsRes] = await Promise.all([
-        fetchUserDetail({ id: userId }),
+        fetchUserDetail({ id: userId, productCode }),
         fetchPermList({ productCode, pageSize: 9999 }),
         fetchGetUserPerms({ userId }),
       ]);