删除重复的 pagination 事件

This commit is contained in:
moon69 2024-03-03 16:18:53 +08:00
parent 6f38676af7
commit e4e37d0cb4

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