删除重复的 pagination 事件

(cherry picked from commit e4e37d0cb4)
This commit is contained in:
moon69 2024-03-03 16:18:53 +08:00 committed by shizhong
parent 7ef5aabdda
commit 06ff8d095b

View File

@ -53,7 +53,7 @@ const props = defineProps({
} }
}) })
const emit = defineEmits(['update:page', 'update:limit', 'pagination', 'pagination']) const emit = defineEmits(['update:page', 'update:limit', 'pagination'])
const currentPage = computed({ const currentPage = computed({
get() { get() {
return props.page return props.page