Explorar el Código

feat: bug修复

BaiLuoYan hace 1 día
padre
commit
a2e933c6ad
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 }),
       ]);