Recommand · July 7, 2021 0

How to get index of tr in Bootstrap Vue table?

When I use a v-for in vue I make like this:

v-for="(test, index) in tests"

How can I make the same using Bootstrap vue? I want to get the index of all the TR.

<b-table
  :items="items"
  :fields="columns"
>