From d9ec7917f36ecffdc16a11d06175594109ce35b0 Mon Sep 17 00:00:00 2001 From: wangruidong <940853815@qq.com> Date: Fri, 20 Dec 2024 18:13:25 +0800 Subject: [PATCH] perf: Delete gather_account --- .../accounts/AccountDiscover/DeleteDialog.vue | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/src/views/accounts/AccountDiscover/DeleteDialog.vue b/src/views/accounts/AccountDiscover/DeleteDialog.vue index 6b60e1bd2..7401afff5 100644 --- a/src/views/accounts/AccountDiscover/DeleteDialog.vue +++ b/src/views/accounts/AccountDiscover/DeleteDialog.vue @@ -20,9 +20,15 @@
@@ -119,10 +125,13 @@ export default { }) }, handleConfirm() { - this.$axios.delete('/api/v1/accounts/gathered-accounts/', { + const url = '/api/v1/accounts/gathered-accounts/' + this.$axios.delete(url, { params: { username: this.account.username, - asset: this.account.asset.id + asset: this.account.asset.id, + is_delete_account: this.iDeleteAccount, + is_delete_remote: this.iDeleteRemote } }).then(res => { this.$message.success('删除成功')