From e62eff17f2df5d72c212af60ddef266463b8583d Mon Sep 17 00:00:00 2001 From: kclf <1195754634@qq.com> Date: Mon, 5 Dec 2022 08:50:12 +0800 Subject: [PATCH] t --- src/components/vote/CreateVote.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/vote/CreateVote.vue b/src/components/vote/CreateVote.vue index 803d594e..f6b7a725 100644 --- a/src/components/vote/CreateVote.vue +++ b/src/components/vote/CreateVote.vue @@ -137,9 +137,9 @@ export default { } }; const closeDrawer = () => { + handleAllCancel(); ctx.emit("update:createVoteVisible", false); ctx.emit("update:ballotId", state.ballotId); - handleAllCancel(); }; // 详情 const getInfoDate = async () => { @@ -170,6 +170,8 @@ export default { inputVal: "optionName", imgVal: "optionPictureAddress", optionId: "optionId", + voteStemId: "voteStemId", + stem: "stem", }).map((itm, idx) => { itm.id = idx + 1; return itm; @@ -199,6 +201,8 @@ export default { optionName: "inputVal", optionPictureAddress: "imgVal", optionId: "optionId", + voteStemId: "voteStemId", + stem: "stem", }).map((itm, idx) => { itm.optionOrderNum = idx + 1; return itm;