<commit_before><template>
  <div :class="tabsCls">
    <div v-for="(a, index) of arr" @click="trigger(a, index)" :key="a" :class="{'h-tabs-selected':a[key] == value}">
      <span v-if="!$scopedSlots.item">{{a[title]}}</span>
      <slot v-else :tab="a" name="item"></slot>
    </div>
  </div>
</template>
<script>
import config from '../../utils/config';
import utils from '../../utils/utils';

const prefix = 'h-tabs';

export default {
  props: {
    dict: String,
    datas: [Object, Array],<commit_msg>fix: tabs use string key in v-for<commit_after><template>
  <div :class="tabsCls">
    <div v-for="(a, index) of arr" @click="trigger(a, index)" :key="a[key]" :class="{'h-tabs-selected':a[key] == value}">
      <span v-if="!$scopedSlots.item">{{a[title]}}</span>
      <slot v-else :tab="a" name="item"></slot>
    </div>
  </div>
</template>
<script>
import config from '../../utils/config';
import utils from '../../utils/utils';

const prefix = 'h-tabs';

export default {
  props: {
    dict: String,
    datas: [Object, Array],
{'fraction_non_alphanumeric': 0.24061597690086622, 'fraction_numerical': 0.0, 'mean_word_length': 3.684684684684685, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2618426', 'n_tokens_mistral': 384, 'n_tokens_neox': 383, 'n_words': 89}