chore: make prop optional in PaginationEmit
This commit is contained in:
parent
5539591d97
commit
359b75feac
|
|
@ -40,7 +40,7 @@ import BaseButton from '@/components/base/BaseButton.vue'
|
|||
|
||||
const props = withDefaults(defineProps<{
|
||||
totalPages: number,
|
||||
currentPage: number
|
||||
currentPage?: number
|
||||
}>(), {
|
||||
currentPage: 1,
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue