一、tag在前 index在后
<van-col v-for="(tag,index) in activeIds" :key="tag">
<van-tag closeable size="medium" type="primary" @close="doClose(index,tag)">
{{tag}}
</van-tag>
</van-col>
这样{{tag}}取到的值是tag文本值
二、index在前 tag在后
<van-col v-for="(index,tag) in activeIds" :key="tag">
<van-tag closeable size="medium" type="primary" @close="doClose(index,tag)">
{{tag}}
</van-tag>
</van-col>
```
这样{{tag}}取到的值是index下标值