diff --git a/_web/src/views/system/role/roleMenuForm.vue b/_web/src/views/system/role/roleMenuForm.vue index 7e1aef31..91e9f736 100644 --- a/_web/src/views/system/role/roleMenuForm.vue +++ b/_web/src/views/system/role/roleMenuForm.vue @@ -18,7 +18,8 @@ { if (!errors) { - sysRoleGrantMenu({ id: this.roleEntity.id, grantMenuIdList: this.checkedKeys }).then((res) => { + sysRoleGrantMenu({ id: this.roleEntity.id, grantMenuIdList: this.checkedKeys.checked }).then((res) => { if (res.success) { this.$message.success('授权成功') this.confirmLoading = false