<div v-for="(item, index) in onerooms" :key="item.id">
<h4 @click="modal = true">{{ item.title }}</h4>
<p>{{ item.price }}</p>
<p>{{ item.content }}</p>
<button @click="clickCount(index)">허위매물신고</button>
<span>신고수 : {{ count[index] }}</span>
</div>
</template>
숙제로 반복문을 이런 식으로 짜서 잘 나왔는데
다음 파트 보니까 item[index].title 이런 식으로 적으시더라구요.
근데 전 그렇게 하면 흰 페이지가 나오면서 크롬 콘솔에
.title 을 찾지 못한다고 오류가 뜨더라구요.
왜 차이가 나는건지 궁금해서 질문해봅니다.