Skip to content

Instantly share code, notes, and snippets.

@PKTseng
Created August 1, 2020 14:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PKTseng/c270133dc5a199a701d563db6e4bc05b to your computer and use it in GitHub Desktop.
Save PKTseng/c270133dc5a199a701d563db6e4bc05b to your computer and use it in GitHub Desktop.
<div id='app'>
<input type="text" class="form-control" v-model="filterText" @keyup.enter='filterData>
<ul>
<li v-for="(item, key) in filterArray" :key="item.age">
{{ key }} - {{ item.name }} {{ item.age }} 歲 <input type="text">
</li>
</ul>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment