mirror of
https://gitee.com/dromara/MaxKey.git
synced 2025-12-07 01:18:27 +08:00
用户批量删除 onBatchDelete 调用的后端 delete
This commit is contained in:
parent
9e96f43c00
commit
c20c79f3f4
@ -120,7 +120,7 @@ export class UsersComponent implements OnInit {
|
||||
|
||||
onBatchDelete(e: MouseEvent): void {
|
||||
e.preventDefault();
|
||||
this.usersService.get(set2String(this.query.tableCheckedId)).subscribe(res => {
|
||||
this.usersService.delete(set2String(this.query.tableCheckedId)).subscribe(res => {
|
||||
if (res.code == 0) {
|
||||
this.msg.success(this.i18n.fanyi('mxk.alert.delete.success'));
|
||||
this.fetch();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user