diff --git a/packages/components/pagination/src/pagination.ts b/packages/components/pagination/src/pagination.ts index 1ebf4667b4..14481dffdc 100644 --- a/packages/components/pagination/src/pagination.ts +++ b/packages/components/pagination/src/pagination.ts @@ -194,8 +194,9 @@ export default defineComponent({ const { t } = useLocale() const ns = useNamespace('pagination') const vnodeProps = getCurrentInstance()!.vnode.props || {} + const _globalSize = useGlobalSize() const _size = computed(() => - props.small ? 'small' : props.size ?? useGlobalSize().value + props.small ? 'small' : props.size ?? _globalSize.value ) useDeprecated( {