From 858aeaecfb2262670f7dfc5740bc10ce6faa61e3 Mon Sep 17 00:00:00 2001 From: zc <> Date: Thu, 16 Dec 2021 07:28:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=94=B9=E5=8F=98?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E7=8A=B6=E6=80=81=E6=8F=90=E7=A4=BA=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E4=BB=A5=E5=8F=8A=E5=8F=96=E6=B6=88=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复改变用户状态提示错误以及取消显示错误bug --- src/views/system/user/index.vue | 61 +++++++++++++++++---------------- 1 file changed, 32 insertions(+), 29 deletions(-) diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 88d33498..625ffedb 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -264,7 +264,7 @@ width="600px" append-to-body @opened="showDialog" - @closed="cancel" + @close="cancel" > - - + + + + {{ dict.dictLabel }} + + + @@ -366,21 +367,6 @@ - - - - - {{ dict.dictLabel }} - - - - - - + + + + + + + + + { ElMessage.success(text + '成功') }).catch( ()=>{ - row.status = row.status === '1' ? 1 : 0 + row.status = row.status === 1 ? 0 : 1 }) }