From 54d6528569c87d9140fcd02614c0519714c9ddd3 Mon Sep 17 00:00:00 2001 From: kclf <1195754634@qq.com> Date: Mon, 5 Dec 2022 22:34:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=95=E7=A5=A8=E6=9C=89=E4=B8=80=E4=B8=AAbu?= =?UTF-8?q?g=EF=BC=8C=E6=B7=BB=E5=8A=A0=E7=9A=84=E9=80=89=E9=A1=B9?= =?UTF-8?q?=EF=BC=8C=E5=A6=82=E6=9E=9C=E6=B2=A1=E4=BF=9D=E5=AD=98=E8=BF=87?= =?UTF-8?q?=EF=BC=8C=E5=88=A0=E4=B8=8D=E6=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/vote/AddVote.vue | 6 ++---- src/components/vote/CreateVote.vue | 2 +- src/views/research/ResearchAdd.vue | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/components/vote/AddVote.vue b/src/components/vote/AddVote.vue index 21aa3c4e..4c2a5f77 100644 --- a/src/components/vote/AddVote.vue +++ b/src/components/vote/AddVote.vue @@ -55,7 +55,7 @@
- {{ ballot_name }} + {{ ballot_name }}
@@ -76,7 +76,7 @@
- {{ ballot_name }} + {{ ballot_name }}
@@ -254,7 +254,6 @@ export default { fileList: [], voteCount: null, projectTemplateId: null, - }); const closeDrawer = () => { (state.inputV1 = ""), @@ -304,7 +303,6 @@ export default { console.log("file========", file); console.log("file========", file.response); state.voteCount = file.response.data; - } }); //fileList.value = resFileList; diff --git a/src/components/vote/CreateVote.vue b/src/components/vote/CreateVote.vue index 066465fc..7105db41 100644 --- a/src/components/vote/CreateVote.vue +++ b/src/components/vote/CreateVote.vue @@ -272,7 +272,7 @@ export default { } }); } else { - virtualDel(); + virtualDel(id); } }; const virtualDel = (id) => { diff --git a/src/views/research/ResearchAdd.vue b/src/views/research/ResearchAdd.vue index 323d038f..b427a393 100644 --- a/src/views/research/ResearchAdd.vue +++ b/src/views/research/ResearchAdd.vue @@ -460,7 +460,7 @@ export default { }); } } else { - virtualDel(); + virtualDel(id); } }; const virtualDel = (id) => {