chore: fix composition example (#369)

This commit is contained in:
Cr 2019-10-25 22:00:56 +08:00 committed by Evan You
parent fd4845c52c
commit 3f73b8b6cf

View File

@ -44,7 +44,8 @@
<li><a href="#/active" :class="{ selected: state.visibility === 'active' }">Active</a></li> <li><a href="#/active" :class="{ selected: state.visibility === 'active' }">Active</a></li>
<li><a href="#/completed" :class="{ selected: state.visibility === 'completed' }">Completed</a></li> <li><a href="#/completed" :class="{ selected: state.visibility === 'completed' }">Completed</a></li>
</ul> </ul>
<button class="clear-completed" @click="removeCompleted" v-if="state.todos.length > remaining">
<button class="clear-completed" @click="removeCompleted" v-if="state.todos.length > state.remaining">
Clear completed Clear completed
</button> </button>
</footer> </footer>