精简如何在每个键中包含重复的键

问题描述 投票:0回答:1
javascript html svelte sveltekit
1个回答
0
投票

尝试使用循环索引作为键:

{#each numbers as number, index (index)}
  <h1 class="score-text">{number}</h1>
{/each}
© www.soinside.com 2019 - 2024. All rights reserved.