fix(table): fix variable spelling (#1837)

This commit is contained in:
kooriookami 2021-04-14 11:47:37 +08:00 committed by GitHub
parent cc988f9ac1
commit cb29649c7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ function useStyle (
store: Store,
table: Table,
) {
const $ElEMENT = useGlobalConfig()
const $ELEMENT = useGlobalConfig()
const isHidden = ref(false)
const renderExpanded = ref(null)
const resizeProxyVisible = ref(false)
@ -197,7 +197,7 @@ function useStyle (
}
}
const tableSize = computed(() => {
return props.size || $ElEMENT.size
return props.size || $ELEMENT.size
})
const bodyWidth = computed(() => {
const { bodyWidth: bodyWidth_, scrollY, gutterWidth } = layout