TA card, the layout of circular output is the same, only a few words vary according to the TAB card clicked
my judgment is based on the current ID value of the tab card, which cannot be obtained if it is put into the loop body. When
is put on the outside, two loops are about to be written?
because the fields returned by the backend are all the same, but the text and values in the loop in the click purchase are different
<div class="demo-tab">
<ul>
<li @click="e=>this.current_tab=0"
:class="{"active":this.current_tab===0}">
<b></b>
<em></em>
</li>
<li @click="e=>this.current_tab=1"
:class="{"active":this.current_tab===1} ">
<b></b>
<em></em>
</li>
<li @click="e=>this.current_tab=2"
:class="{"active":this.current_tab===2}">
<b></b>
<em></em>
</li>
</ul>
</div>
<div class="demo-cont">
<div class="" v-for="(item,index) in data" :key="index">
</div>
</div>