This commit is contained in:
kclf
2022-12-05 08:50:12 +08:00
parent 2e57c0c5ca
commit e62eff17f2

View File

@@ -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;