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;