|
@@ -5,7 +5,8 @@
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts">
|
|
|
-import { toRefs, defineComponent, computed } from 'vue';
|
|
|
+import { computed, defineComponent, toRefs } from 'vue'
|
|
|
+
|
|
|
const props = {
|
|
|
total: {
|
|
|
required: true,
|
|
@@ -69,7 +70,7 @@ export default defineComponent({
|
|
|
emit('pagination', { page: currentPage.value, limit: val })
|
|
|
};
|
|
|
const handleCurrentChange = (val: number) => {
|
|
|
- emit('pagination', { page: val, limit: pageSizes.value })
|
|
|
+ emit('pagination', { page: val, limit: pageSize.value })
|
|
|
}
|
|
|
return {
|
|
|
currentPage,
|