We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81f0359 commit 63639c8Copy full SHA for 63639c8
src/element-plus/components/use-pagination/index.ts
@@ -1,5 +1,4 @@
1
import type { PaginationPropsPublic } from 'element-plus'
2
-import type { Writable } from 'type-fest'
3
import type { FunctionalComponent } from 'vue'
4
import type {
5
ElUsePaginationEmits,
@@ -23,10 +22,7 @@ export const ElUsePagination: FunctionalComponent<
23
22
const { currentPage, currentPageSize, pageCount, total } = pagination
24
25
const finalProps: PaginationPropsPublic = mergeProps(
26
- objectPick(
27
- config?.defaultProps || {},
28
- defaultPropKeys as Writable<typeof defaultPropKeys>,
29
- ),
+ objectPick(config?.defaultProps || {}, defaultPropKeys as any),
30
31
// 需要与 attrs 内的事件名保持一致
32
{
0 commit comments