이용자제재 수정
This commit is contained in:
@@ -228,7 +228,7 @@ const UserBlockRegist = () => {
|
|||||||
showToast('USER_BLOCK_VALIDATION_WARNING', {type: alertTypes.warning});
|
showToast('USER_BLOCK_VALIDATION_WARNING', {type: alertTypes.warning});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
showModal('USER_BLOCK_REGIST_CONFIRM', {
|
showModal('USER_BLOCK_REGIST_CONFIRM', {
|
||||||
type: alertTypes.confirm,
|
type: alertTypes.confirm,
|
||||||
onConfirm: () => handleSubmit('registConfirm'),
|
onConfirm: () => handleSubmit('registConfirm'),
|
||||||
@@ -237,7 +237,7 @@ const UserBlockRegist = () => {
|
|||||||
|
|
||||||
case 'registConfirm':
|
case 'registConfirm':
|
||||||
await withLoading(async () => {
|
await withLoading(async () => {
|
||||||
return await BlackListRegist(token, resultData);
|
return await BlackListRegist(token, resultData);
|
||||||
}).then(data => {
|
}).then(data => {
|
||||||
if(data.result === 'ERROR'){
|
if(data.result === 'ERROR'){
|
||||||
showToast(data.data.message, {type: alertTypes.error});
|
showToast(data.data.message, {type: alertTypes.error});
|
||||||
|
|||||||
Reference in New Issue
Block a user