edit
This commit is contained in:
		| @ -52,7 +52,7 @@ export class AuthDrawerComponent implements OnInit { | ||||
|  | ||||
|   functionAction(item?: any, isDisabled = false) { | ||||
|     if (item) { | ||||
|       this.functionInfo = { ...item, buttonId: item.id }; | ||||
|       this.functionInfo = { ...item, buttonId: item.id, id: item.functionButtonId }; | ||||
|     } else { | ||||
|       this.functionInfo = {}; | ||||
|     } | ||||
| @ -80,7 +80,7 @@ export class AuthDrawerComponent implements OnInit { | ||||
|     const modal = this.modal.warning({ | ||||
|       nzTitle: '是否确定删除该权限', | ||||
|       nzOnOk: () => { | ||||
|         this.service.request(this.service.$api_delete_menu_function, [item.id]).subscribe(res => { | ||||
|         this.service.request(this.service.$api_delete_menu_function, [item.functionButtonId]).subscribe(res => { | ||||
|           if (res) { | ||||
|             this.service.msgSrv.success('删除成功'); | ||||
|             this.st.load(1); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user