fix: currentPage of pagination component is undefined #1002
|
@ -89,7 +89,7 @@ export default {
|
||||||
},
|
},
|
||||||
currentPage: {
|
currentPage: {
|
||||||
type: Number,
|
type: Number,
|
||||||
required: true,
|
default: 0,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -120,7 +120,7 @@
|
||||||
|
|
||||||
<Pagination
|
<Pagination
|
||||||
:total-pages="taskCollectionService.totalPages"
|
:total-pages="taskCollectionService.totalPages"
|
||||||
:current-page="currentPage || 0"
|
:current-page="currentPage"
|
||||||
/>
|
/>
|
||||||
</card>
|
</card>
|
||||||
|
|
||||||
|
|
|
@ -170,7 +170,7 @@
|
||||||
|
|
||||||
<Pagination
|
<Pagination
|
||||||
:total-pages="taskCollectionService.totalPages"
|
:total-pages="taskCollectionService.totalPages"
|
||||||
:current-page="currentPage || 0"
|
:current-page="currentPage"
|
||||||
/>
|
/>
|
||||||
</card>
|
</card>
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user