chore: 构建稳定版本

This commit is contained in:
陈淳
2023-12-11 09:55:12 +08:00
parent 098d4bc85f
commit 769a6a9c63
756 changed files with 10431 additions and 19867 deletions

View File

@@ -3,9 +3,9 @@
<el-pagination
:background="background"
v-model:current-page="currentPage"
v-model:page-size="pageSize"
v-model:page-size="maxResultCount"
:layout="layout"
:page-sizes="pageSizes"
:page-sizes="maxResultCounts"
:pager-count="pagerCount"
:total="Number(total)"
@size-change="handleSizeChange"
@@ -30,7 +30,7 @@ const props = defineProps({
type: Number,
default: 20
},
pageSizes: {
maxResultCounts: {
type: Array,
default() {
return [10, 20, 30, 50]
@@ -68,7 +68,7 @@ const currentPage = computed({
emit('update:page', val)
}
})
const pageSize = computed({
const maxResultCount = computed({
get() {
return props.limit
},
@@ -86,7 +86,7 @@ function handleSizeChange(val) {
}
}
function handleCurrentChange(val) {
emit('pagination', { page: val, limit: pageSize.value })
emit('pagination', { page: val, limit: maxResultCount.value })
if (props.autoScroll) {
scrollTo(0, 800)
}