From 1b462dcff5aafc08ebd7a3bc851cce09e625637e Mon Sep 17 00:00:00 2001 From: aoshiguchen <1052045476@qq.com> Date: Sun, 28 Aug 2022 17:09:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9EButtonPopover=E7=BB=84?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/Button/buttonPopover.vue | 2 +- neutrino-proxy-admin/src/views/system/user.vue | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/neutrino-proxy-admin/src/components/Button/buttonPopover.vue b/neutrino-proxy-admin/src/components/Button/buttonPopover.vue index f85f3fe9..321c2927 100644 --- a/neutrino-proxy-admin/src/components/Button/buttonPopover.vue +++ b/neutrino-proxy-admin/src/components/Button/buttonPopover.vue @@ -68,7 +68,7 @@ export default { .popper-p-css{ margin-top: 0px !important; margin-bottom: 5px !important; - /deep/i{ + .el-icon-warning{ margin-right: 5px; } } diff --git a/neutrino-proxy-admin/src/views/system/user.vue b/neutrino-proxy-admin/src/views/system/user.vue index 43c7e953..42afdc8d 100644 --- a/neutrino-proxy-admin/src/views/system/user.vue +++ b/neutrino-proxy-admin/src/views/system/user.vue @@ -296,7 +296,17 @@ }).catch(() => {}) }, handleDelete2(row) { - console.log(row) + deleteUser(row.id).then(response => { + if (response.data.code === 0) { + this.$notify({ + title: '成功', + message: '删除成功', + type: 'success', + duration: 2000 + }) + this.getList() + } + }) }, handleDownload() { this.downloadLoading = true