From ad4f8b41ba13403cec63bddf2a051d4898ac3acf Mon Sep 17 00:00:00 2001 From: laiiihz Date: Thu, 1 Apr 2021 15:41:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8A=95=E7=A5=A8=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E6=97=A0=E6=B3=95=E6=8A=95=E7=A5=A8=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/event_activity/voting_detail_page.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pages/event_activity/voting_detail_page.dart b/lib/pages/event_activity/voting_detail_page.dart index 5d92488f..b41e03dd 100644 --- a/lib/pages/event_activity/voting_detail_page.dart +++ b/lib/pages/event_activity/voting_detail_page.dart @@ -259,9 +259,9 @@ class _VotingDetailPageState extends State { BotToast.showText(text: '请先选择候选人!'); } else { BaseModel baseModel = - await ManagerFunc.vote(_selectId, widget.id); + await ManagerFunc.vote(widget.id, _selectId); if (baseModel.status) { - Get.dialog(_shouwVoteDialog()); + await Get.dialog(_shouwVoteDialog()); _hasVoted = true; setState(() {}); } else {