zhangwei
2025-12-23 58f8f8dcc6b0a86eb7ed3d4b8acb7778614a0213
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<template>
 
<el-pagination background layout="prev, pager, next" :total="total" @current-change="currentchange" />
</template>
 
<script setup>
const props = defineProps({
  total: {
    type:Number,
  },
 
})
const emit = defineEmits(["click"])
const currentchange=(el)=>{
  emit("click", el)
}
 
</script>
 
<style lang="less" scoped></style>