problem description
vue+elementelementtabstab
the environmental background of the problems and what methods you have tried
related codes
/ / Please paste the code text below (do not replace the code with pictures)
< el-tab-pane > < span slot= "label" name= "first" > people < / el-tab-pane >
<el-tab-pane > <span slot="label" name="second"><i class="el-icon-time" ></i></span></el-tab-pane>
handleClick (tab) {
this.topshow = tab.index
},
< el-checkbox-group v change= model = "selectedPerson" @ change= "handleCheckedCitiesChange ("history")" >
<el-col :span="12" v-for="(item,i ) in people" :key="i" class="checkson">
<el-checkbox :label="item" style="padding-left: 8px" :checked="item.checked">
{{item.name}}
<p class="category" :title="item.itemLink">{{item.itemLink}}
</el-checkbox>
</el-col>
</el-checkbox-group>