Selaa lähdekoodia

fix not refesh after save

master
Alex Cheung 1 vuosi sitten
vanhempi
commit
ed1c841fc2
2 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. +1
    -1
      src/pages/pnspsUserDetailPage/index.js
  2. +2
    -2
      src/pages/pnspsUserGroupDetailPage/index.js

+ 1
- 1
src/pages/pnspsUserDetailPage/index.js Näytä tiedosto

@@ -144,7 +144,7 @@ const UserMaintainPage = () => {
"removeAuthIds": deletedUserAuth,
},
).then((response) => {
if (response.status === 200) {
if (response.status === 204) {
// notifySaveSuccess();
navigate('/userSearchview');
}


+ 2
- 2
src/pages/pnspsUserGroupDetailPage/index.js Näytä tiedosto

@@ -12,7 +12,7 @@ import {
GeneralConfirmWindow,
getDeletedRecordWithRefList,
getIdList,
notifyDeleteSuccess,
// notifyDeleteSuccess,
// notifySaveSuccess
} from "../../utils/CommonFunction";
import {POST_AND_UPDATE_USER_GROUP,GET_GROUP_LIST_PATH } from "../../utils/ApiPathConst";
@@ -58,7 +58,7 @@ const UserMaintainPage = () => {
)
.then((response) => {
if (response.status === 204) {
notifyDeleteSuccess();
// notifyDeleteSuccess();
setIsWindowOpen(false);
navigate('/usergroupSearchview');
}


Ladataan…
Peruuta
Tallenna