<el-collapse :accordion="false" v-model="openCollapse" style="border-right: none">
<el-collapse-item :key="item.iid" v-for="(item,index) in frameData"
:title="item.ccaption" :name="index"
style="border-right: none">
<component-factory :params="{ $type:'checkBox'}"></component-factory>
</el-collapse-item>
</el-collapse>
el-collapse-item是动态创建的 el-collapse 用v-model绑定展开组件的下标不起作用,应该如何解决?
v-model="activeNames"
activeNames: [0,1,2]数字不要加引号