我的问答

This commit is contained in:
宋伟佳
2022-06-07 13:51:30 +08:00
parent dd0fb9d595
commit 03bc4faef6
3 changed files with 24 additions and 3 deletions
@@ -24,7 +24,7 @@
</div>
</div>
<div>
<el-checkbox @change="answerChang" v-model="answer.checked">归档</el-checkbox>
<el-checkbox v-if="answer.checkedShow" @change="answerChang" v-model="answer.checked">归档</el-checkbox>
</div>
</div>
<!-- <div class="footer-box">-->
@@ -1536,7 +1536,16 @@ export default {
},{
_this: this
}, res => {
this.answerList = res.data
if(this.activeName === 'myAns'){
if(res.data.length){
res.data.forEach(item => {
item.checkedShow = true
})
}
this.answerList = res.data
}else{
this.answerList = res.data
}
}, e => {
})
},