diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue index b99d1ed1..84469f9d 100644 --- a/src/views/system/role/index.vue +++ b/src/views/system/role/index.vue @@ -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();