From 6a6388e23e8b3553963f423fbe8a2fc7a69a66ee Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Thu, 11 May 2023 11:09:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A6=82=E6=9E=9C=E8=A7=92=E8=89=B2=E5=AD=98?= =?UTF-8?q?=E5=9C=A8=E7=94=A8=E6=88=B7=E5=85=B3=E8=81=94=20=E5=B0=B1?= =?UTF-8?q?=E4=B8=8D=E8=83=BD=E7=BB=99=E8=A7=92=E8=89=B2=E7=A6=81=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/role/index.vue | 4 ++++ 1 file changed, 4 insertions(+) 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();