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