<div v-for="(item, index) in gr"
:key="space.id"
class="val-name">
</div>
I have done that logic using the below few line changes in the api call, like
with that, what i am trying to achieve finally i got it. But issue is, i cant expect the array value same all the time. So i have decided to re-arrange the array values based on the ID.