Skip to content

Instantly share code, notes, and snippets.

@PKTseng PKTseng/index.html

Created Aug 1, 2020
Embed
What would you like to do?
<div id='app'>
<p>請加上 v-if 判斷式</p>
<ul>
<li v-for="(item, key) in arrayData" v-if=" item.age <= 19">
{{ key }} - {{ item.name }} {{ item.age }} 歲
</li>
</ul>
</div>
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.