if so, what attributes do you need to add?
Note: without knowing how many pieces of data there are
post a code:
<el-collapse v-model="activeNames">
<el-collapse-item v-for="(item,index) in typesContractData" :key="item.id" :title="item.name" :name="index">
</el-collapse-item>
</el-collapse>
activeNames:[]
...
for(var i = 0; i < this.typesContractData.length; iPP) {
this.activeNames.push(i.toString())
}