mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix(components): [pagination] global size dynamic modification error (#18004)
This commit is contained in:
@@ -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(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user