How to conditionally render a class based on array index?

前端 未结 0 706
情书的邮戳
情书的邮戳 2020-12-11 21:53

I have a negativeArray of length 5 and I want to apply the \'rating-type__pipe--active\' class only to the first three elements in the code below and not on the last two ele

相关标签:
回答
  • 消灭零回复
提交回复
热议问题