1.Object.freeze的使用
this.yesPoints = Object.freeze(res[0].yesPoints)
this.totalPoints = Object.freeze([...this.yesPoints, ...this.absentPoints, ...this.noPoints,])
<p v-for="(item,index) in totalPoints" :key="index">
{{ `${index + 1 + '.'}${item}`}}
</p>
2.