Signed-off-by: ruiyi.jiang <ruiyi.jiang@zilliz.com>
@@ -72,8 +72,6 @@ export default class BaseModel {
static async delete(options: updateParamsType) {
const { path, data } = options;
- console.log('xxx', data);
-
const res = await http.delete(path, { data: data });
return res.data;
@@ -71,7 +71,6 @@ const Roles = () => {
};
const handleDelete = async (force?: boolean) => {
- console.log('for', force);
for (const role of selectedRole) {
const param: DeleteRoleParams = {
roleName: role.name,
@@ -110,7 +110,6 @@ const UpdateRoleDialog: FC<CreateRoleProps> = ({
await UserHttp.createRole(form);
}
- console.log('form', form);
await UserHttp.updateRolePrivileges(form);
onUpdate({ data: form, isEditing: isEditing });