No se escribir
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user