To show the first array item use the slice(0, 1) method inside the HTML template. <div id="app"> <h2>Items: <ul> <li v-for="item in ...
確定! 回上一頁