mirror of
https://github.com/creativetimofficial/vue-material-kit.git
synced 2025-05-23 12:14:22 +08:00
refactor(pagination.vue): lint
This commit is contained in:
parent
90c809b556
commit
6d3db55ba7
@ -5,9 +5,7 @@
|
||||
:class="{ disabled: value === 1, 'no-arrows': noArrows }"
|
||||
>
|
||||
<a class="page-link" aria-label="Previous" @click="prevPage">
|
||||
<template v-if="withText"
|
||||
>Prev</template
|
||||
>
|
||||
<template v-if="withText">Prev</template>
|
||||
<i class="fas fa-angle-double-left" v-else></i>
|
||||
</a>
|
||||
</li>
|
||||
@ -24,9 +22,7 @@
|
||||
:class="{ disabled: value === totalPages, 'no-arrows': noArrows }"
|
||||
>
|
||||
<a class="page-link" aria-label="Next" @click="nextPage">
|
||||
<template v-if="withText"
|
||||
>Next</template
|
||||
>
|
||||
<template v-if="withText">Next</template>
|
||||
<i class="fas fa-angle-double-right" v-else></i>
|
||||
</a>
|
||||
</li>
|
||||
|
Loading…
x
Reference in New Issue
Block a user