From 5c0e57ab831a71a8456e4d7dedf454f85aa96491 Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期二, 27 六月 2023 15:06:53 +0800 Subject: [PATCH] 新增同时发信息给本级领导 --- src/views/Admin/components/userMod.vue | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/views/Admin/components/userMod.vue b/src/views/Admin/components/userMod.vue index 4428956..7ea2a40 100644 --- a/src/views/Admin/components/userMod.vue +++ b/src/views/Admin/components/userMod.vue @@ -279,6 +279,7 @@ if(res.data.code == 100){ this.$message.success('新增用户成功') this.$emit('refresh') + this.visible = false }else{ this.$message.error(res.data.msg) } @@ -289,12 +290,12 @@ if(res.data.code == 100){ this.$message.success('修改用户成功') this.$emit('refresh') + this.visible = false }else{ this.$message.error(res.data.msg) } }) } - this.visible = false } else { console.log('error submit!!'); return false; -- Gitblit v1.9.2