Skip to content

Instantly share code, notes, and snippets.

@PKTseng PKTseng/app.html

Last active Aug 1, 2020
Embed
What would you like to do?
<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
You can’t perform that action at this time.