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 = () => { const closeDrawer = () => {
handleAllCancel();
ctx.emit("update:createVoteVisible", false); ctx.emit("update:createVoteVisible", false);
ctx.emit("update:ballotId", state.ballotId); ctx.emit("update:ballotId", state.ballotId);
handleAllCancel();
}; };
// 详情 // 详情
const getInfoDate = async () => { const getInfoDate = async () => {
@@ -170,6 +170,8 @@ export default {
inputVal: "optionName", inputVal: "optionName",
imgVal: "optionPictureAddress", imgVal: "optionPictureAddress",
optionId: "optionId", optionId: "optionId",
voteStemId: "voteStemId",
stem: "stem",
}).map((itm, idx) => { }).map((itm, idx) => {
itm.id = idx + 1; itm.id = idx + 1;
return itm; return itm;
@@ -199,6 +201,8 @@ export default {
optionName: "inputVal", optionName: "inputVal",
optionPictureAddress: "imgVal", optionPictureAddress: "imgVal",
optionId: "optionId", optionId: "optionId",
voteStemId: "voteStemId",
stem: "stem",
}).map((itm, idx) => { }).map((itm, idx) => {
itm.optionOrderNum = idx + 1; itm.optionOrderNum = idx + 1;
return itm; return itm;