我的问答
This commit is contained in:
@@ -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 => {
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user