No se escribir

This commit is contained in:
Daniel Cortés
2019-06-16 23:28:19 -04:00
parent 5d8dae03f9
commit 6f6626f916

View File

@@ -12,7 +12,8 @@
</ul>
<div class="pagination">
<button :disabled="!prevPage" @click.prevent="goToPrev">Previous</button>
<button :disabled="! nexPage" @click.prevent="goToNext">Next</button>
{{ paginationCount }}
<button :disabled="!nextPage" @click.prevent="goToNext">Next</button>
</div>
</div>
</template>
@@ -22,6 +23,7 @@ import axios from 'axios';
const getUsers = (page, callback) => {
const params = { page };
axios
.get('/api/users', { params })
.then(response => {