mirror of
https://github.com/element-plus/element-plus.git
synced 2025-02-23 11:59:34 +08:00
fix(components): [pagination] global size dynamic modification error (#18004)
This commit is contained in:
parent
bb4cf0370f
commit
6ce83d38a7
@ -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(
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user