mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-11 03:46:48 +08:00
fix:投票提交数据结构修改
This commit is contained in:
@@ -280,10 +280,10 @@ const submitVote = () => {
|
|||||||
}
|
}
|
||||||
let isSubmit = true;
|
let isSubmit = true;
|
||||||
let isSubArr = []
|
let isSubArr = []
|
||||||
for(let i=0;i<state.dataInfo.ballotVo.voteStemVoList.length;i++){
|
for(let i=0;i<state.dataInfo.voteStemDtoList.length;i++){
|
||||||
for(let j=0; j<state.dataInfo.ballotVo.voteStemVoList[i].optionDetailList.length;j++){
|
for(let j=0; j<state.dataInfo.voteStemDtoList[i].optionDetailList.length;j++){
|
||||||
if(state.dataInfo.ballotVo.voteStemVoList[i].optionDetailList[j].isAnswer){
|
if(state.dataInfo.voteStemDtoList[i].optionDetailList[j].isAnswer){
|
||||||
isSubArr[i] = state.dataInfo.ballotVo.voteStemVoList[i].optionDetailList[j].isAnswer
|
isSubArr[i] = state.dataInfo.voteStemDtoList[i].optionDetailList[j].isAnswer
|
||||||
break
|
break
|
||||||
}else{
|
}else{
|
||||||
isSubArr[i] = false
|
isSubArr[i] = false
|
||||||
|
|||||||
Reference in New Issue
Block a user