如果角色存在用户关联 就不能给角色禁用

prod
wangwei 2 years ago
parent e0d3d5f199
commit 6a6388e23e

@ -543,9 +543,13 @@ export default {
return
}
updateRole(this.form).then(response => {
if(response.code === 20000){
this.$modal.msgSuccess("修改成功");
this.open = false;
this.getList();
}else{
this.$message.error(response.message);
}
});
} else {
this.form.menuIds = this.getMenuAllCheckedKeys();

Loading…
Cancel
Save