<div class="cont"> <ul> <li v-for="(value, key) in dayappointment.visit" :key="value"> {{ key }}: {{ value }} </li> </ul> <div class="day"> <div class="dayboxes"> {{dayappointment.visit.day}} </div> <div class="dayboxes"> {{dayappointment.visit.month}} </div> <div class="dayboxes"> {{dayappointment.visit.year}} </div> </div> </div>
無序列表顯示日、月、年鍵及其值,但它們在日 div 中未定義。
雷雷