Last active
August 1, 2020 14:41
-
-
Save PKTseng/374bb1fa89db1c12ed84d172b04f87b9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul id="app"> | |
<li v-for="(item, key) in arrayData" :key='item.age'> | |
{{ key }} - {{ item.name }} {{ item.age }} 歲 <input type="text" > | |
</li> | |
</ul> | |
<button class="btn btn-outline-primary" @click="reverseArray">反轉陣列</button> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment