Преглед на файлове

删除重复的 pagination 事件

moon69 преди 1 година
родител
ревизия
e4e37d0cb4
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/components/Pagination/index.vue

+ 1 - 1
src/components/Pagination/index.vue

@@ -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({
   get() {
     return props.page