Vue Js - Loop via v-for X times (in a range)

前端 未结 6 1062
星月不相逢
星月不相逢 2021-01-30 04:54

How can I repeat a loop via v-for X (e.g. 10) times?

// want to repeat this (e.g.) 10 times

6条回答
  •  庸人自扰
    2021-01-30 05:27

    The same goes for v-for in range:

  • {{n}}
提交回复
热议问题