|
|
|
@ -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();
|
|
|
|
|