Commit 94fd5d44 authored by Sixiang_Zzb's avatar Sixiang_Zzb

删除保安提示修复

parent 9ec4b3bf
......@@ -111,6 +111,12 @@ export default {
console.log(playload);
const res = yield call(service.TosGuarderDel, playload);
console.log(res);
if (res.error_code === '0000') {
message.success(res.error_msg);
history.go(-1);
} else {
message.error('Deletion failed,Please try again');
}
},
},
};
......@@ -111,6 +111,9 @@ const UsersDetail = (props: any) => {
id: DataSave.id,
owerName: DataSave.owerName,
enable: DataSave.enable,
buildingNumber: DataSave.buildingNumber,
floorNumber: DataSave.floorNumber,
roomNumber: DataSave.roomNumber,
});
} else {
history.go(-1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment